Skip to content
Snippets Groups Projects
Commit 4fc4317d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Proto Monitoring cleanup

parent ab32a343
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!18Added new KPI Sample Types
...@@ -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;
......
...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment