Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
d2ff0a3a
Commit
d2ff0a3a
authored
11 months ago
by
Waleed Akbar
Browse files
Options
Downloads
Patches
Plain Diff
Analytic_frontend.proto added
parent
4aeda298
No related branches found
No related tags found
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!207
Resolve "(CTTC) Separation of Monitoring"
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/analytics_frontend.proto
+49
-0
49 additions, 0 deletions
proto/analytics_frontend.proto
with
49 additions
and
0 deletions
proto/analytics_frontend.proto
0 → 100644
+
49
−
0
View file @
d2ff0a3a
syntax
=
"proto3"
;
package
device
;
import
"context.proto"
;
import
"kpi_manager.proto"
;
import
"kpi_sample_types.proto"
;
service
AnalyticsFrontendService
{
rpc
StartAnalyzer
(
Analyzer
)
returns
(
AnalyzerId
)
{}
rpc
StopAnalyzer
(
AnalyzerId
)
returns
(
context.Empty
)
{}
rpc
SelectAnalyzers
(
AnalyzerFilter
)
returns
(
AnalyzerList
)
{}
}
message
AnalyzerId
{
context.Uuid
analyzer_id
=
1
;
}
enum
AnalyzerMode
{
ANALYZERMODE_BATCH
=
0
;
ANALYZERMODE_STRAMING
=
1
;
}
message
Analyzer
{
repeated
kpi_manager.KpiId
kpi_id
=
1
;
// The KPI Ids to be processed by the analyzer
AnalyzerMode
mode
=
2
;
// Operation mode of the analyzer
float
batch_min_duration_s
=
3
;
// In batch mode, min duration to collect before executing batch
float
batch_max_duration_s
=
4
;
// In batch mode, max duration collected to execute the batch
uint
batch_min_size
=
5
;
// In batch mode, min number of samples to collect before executing batch
uint
batch_max_size
=
6
;
// In batch mode, max number of samples collected to execute the batch
}
message
AnalyzerFilter
{
// Analyzer that fulfill the filter are those that match ALL the following fields.
// An empty list means: any value is accepted.
// All fields empty means: list all Analyzers
repeated
AnalyzerId
analyzer_id
=
1
;
repeated
kpi_manager.KpiId
kpi_id
=
2
;
repeated
kpi_sample_types.KpiSampleType
kpi_sample_type
=
3
;
repeated
context.DeviceId
device_id
=
4
;
repeated
context.EndPointId
endpoint_id
=
5
;
repeated
context.ServiceId
service_id
=
6
;
repeated
context.SliceId
slice_id
=
7
;
repeated
context.ConnectionId
connection_id
=
8
;
repeated
context.LinkId
link_id
=
9
;
}
message
AnalyzerList
{
repeated
Analyzer
analyzer_list
=
1
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment