From 4fc4317dfe0d8c8fcf7e63189dcd6fa675bd0e86 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Mon, 28 Nov 2022 14:14:02 +0000
Subject: [PATCH] Proto Monitoring cleanup

---
 proto/kpi_sample_types.proto | 4 ++--
 proto/monitoring.proto       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/proto/kpi_sample_types.proto b/proto/kpi_sample_types.proto
index 3494d9849..4419a8df4 100644
--- a/proto/kpi_sample_types.proto
+++ b/proto/kpi_sample_types.proto
@@ -23,8 +23,8 @@ enum KpiSampleType {
     KPISAMPLETYPE_BYTES_TRANSMITTED             = 201;
     KPISAMPLETYPE_BYTES_RECEIVED                = 202;
     KPISAMPLETYPE_BYTES_DROPPED                 = 203;
-    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_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_L3_UNIQUE_ATTACK_CONNS        = 601;
     KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS       = 602;
     KPISAMPLETYPE_L3_UNIQUE_ATTACKERS           = 603;
diff --git a/proto/monitoring.proto b/proto/monitoring.proto
index 027dcb022..f9c408c96 100644
--- a/proto/monitoring.proto
+++ b/proto/monitoring.proto
@@ -36,7 +36,7 @@ service MonitoringService {
   rpc GetAlarmResponseStream(AlarmSubscription  ) returns (stream AlarmResponse) {} // Not Stable not final
   rpc DeleteAlarm           (AlarmID            ) returns (context.Empty       ) {} // Stable and 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 {
@@ -59,7 +59,7 @@ message MonitorKpiRequest {
 }
 
 message KpiQuery {
-  repeated KpiId    kpi_ids              = 1;
+  repeated KpiId    kpi_ids             = 1;
   float             monitoring_window_s = 2;
   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"
-- 
GitLab