From 0a8c96ffa9c2f345be56a9e03c62e329de75f4d3 Mon Sep 17 00:00:00 2001 From: Scott Trent Date: Tue, 26 Mar 2024 15:53:04 +0900 Subject: [PATCH] restore susql_total_energy_joules query Signed-off-by: Scott Trent --- internal/controller/prometheus_manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controller/prometheus_manager.go b/internal/controller/prometheus_manager.go index fbefcfc..a008f10 100644 --- a/internal/controller/prometheus_manager.go +++ b/internal/controller/prometheus_manager.go @@ -158,8 +158,8 @@ type SusqlMetrics struct { var ( susqlMetrics = &SusqlMetrics{ totalEnergy: prometheus.NewGaugeVec(prometheus.GaugeOpts{ - Namespace: "kepler", - Name: "node_platform_joules_total", + Namespace: "susql", + Name: "total_energy_joules", Help: "Accumulated energy over time for set of labels", }, susqlPrometheusLabelNames), }