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
4fc4317d
Commit
4fc4317d
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Proto Monitoring cleanup
parent
ab32a343
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!18
Added new KPI Sample Types
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto/kpi_sample_types.proto
+2
-2
2 additions, 2 deletions
proto/kpi_sample_types.proto
proto/monitoring.proto
+2
-2
2 additions, 2 deletions
proto/monitoring.proto
with
4 additions
and
4 deletions
proto/kpi_sample_types.proto
+
2
−
2
View file @
4fc4317d
...
@@ -23,8 +23,8 @@ enum KpiSampleType {
...
@@ -23,8 +23,8 @@ enum KpiSampleType {
KPISAMPLETYPE_BYTES_TRANSMITTED
=
201
;
KPISAMPLETYPE_BYTES_TRANSMITTED
=
201
;
KPISAMPLETYPE_BYTES_RECEIVED
=
202
;
KPISAMPLETYPE_BYTES_RECEIVED
=
202
;
KPISAMPLETYPE_BYTES_DROPPED
=
203
;
KPISAMPLETYPE_BYTES_DROPPED
=
203
;
KPISAMPLETYPE_ML_CONFIDENCE
=
401
;
//. can be used by both optical and L3 without any issue
KPISAMPLETYPE_ML_CONFIDENCE
=
401
;
//. can be used by both optical and L3 without any issue
KPISAMPLETYPE_OPTICAL_SECURITY_STATUS
=
501
;
//. can be used by both optical and L3 without any issue
KPISAMPLETYPE_OPTICAL_SECURITY_STATUS
=
501
;
//. can be used by both optical and L3 without any issue
KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS
=
601
;
KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS
=
601
;
KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS
=
602
;
KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS
=
602
;
KPISAMPLETYPE_L3_UNIQUE_ATTACKERS
=
603
;
KPISAMPLETYPE_L3_UNIQUE_ATTACKERS
=
603
;
...
...
This diff is collapsed.
Click to expand it.
proto/monitoring.proto
+
2
−
2
View file @
4fc4317d
...
@@ -36,7 +36,7 @@ service MonitoringService {
...
@@ -36,7 +36,7 @@ service MonitoringService {
rpc
GetAlarmResponseStream
(
AlarmSubscription
)
returns
(
stream
AlarmResponse
)
{}
// Not Stable not final
rpc
GetAlarmResponseStream
(
AlarmSubscription
)
returns
(
stream
AlarmResponse
)
{}
// Not Stable not final
rpc
DeleteAlarm
(
AlarmID
)
returns
(
context.Empty
)
{}
// Stable and final
rpc
DeleteAlarm
(
AlarmID
)
returns
(
context.Empty
)
{}
// Stable and final
rpc
GetStreamKpi
(
KpiId
)
returns
(
stream
Kpi
)
{}
// Stable not final
rpc
GetStreamKpi
(
KpiId
)
returns
(
stream
Kpi
)
{}
// Stable not final
rpc
GetInstantKpi
(
KpiId
)
returns
(
Kpi
)
{}
// Stable not final
rpc
GetInstantKpi
(
KpiId
)
returns
(
Kpi
)
{}
// Stable not final
}
}
message
KpiDescriptor
{
message
KpiDescriptor
{
...
@@ -59,7 +59,7 @@ message MonitorKpiRequest {
...
@@ -59,7 +59,7 @@ message MonitorKpiRequest {
}
}
message
KpiQuery
{
message
KpiQuery
{
repeated
KpiId
kpi_ids
=
1
;
repeated
KpiId
kpi_ids
=
1
;
float
monitoring_window_s
=
2
;
float
monitoring_window_s
=
2
;
uint32
last_n_samples
=
3
;
// used when you want something like "get the last N many samples
uint32
last_n_samples
=
3
;
// used when you want something like "get the last N many samples
context.Timestamp
start_timestamp
=
4
;
// used when you want something like "get the samples since X date/time"
context.Timestamp
start_timestamp
=
4
;
// used when you want something like "get the samples since X date/time"
...
...
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