Loading src/kpi_value_api/service/KpiValueApiServiceServicerImpl.py +1 −1 Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ class KpiValueApiServiceServicerImpl(KpiValueAPIServiceServicer): value["window"]["end"], "%Y-%m-%dT%H:%M:%S.%fZ").timestamp() response.kpi_id.kpi_id.uuid = value['kpi_id'] for key, threshold in value.items(): if "THRESHOLD_" in key: if key not in ['kpi_id', 'window']: response.alarms[key] = threshold yield response Loading Loading
src/kpi_value_api/service/KpiValueApiServiceServicerImpl.py +1 −1 Original line number Diff line number Diff line Loading @@ -157,7 +157,7 @@ class KpiValueApiServiceServicerImpl(KpiValueAPIServiceServicer): value["window"]["end"], "%Y-%m-%dT%H:%M:%S.%fZ").timestamp() response.kpi_id.kpi_id.uuid = value['kpi_id'] for key, threshold in value.items(): if "THRESHOLD_" in key: if key not in ['kpi_id', 'window']: response.alarms[key] = threshold yield response Loading