From 20653b3d0d9f09f65595147c5471d6167d857de3 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 10 Jul 2024 12:01:44 -0400 Subject: [PATCH] fix: metric name --- internal/metrics/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index bb78457..09b6b66 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -8,7 +8,7 @@ import ( var missingMessages = prometheus.NewGaugeVec( prometheus.GaugeOpts{ - Name: "missing_messages", + Name: "counter_missing_messages", Help: "The messages identified as missing and the reason why they're missing", }, []string{"storenode", "status"}, @@ -16,7 +16,7 @@ var missingMessages = prometheus.NewGaugeVec( var storenodeUnavailable = prometheus.NewGaugeVec( prometheus.GaugeOpts{ - Name: "storenode_unavailable", + Name: "counter_storenode_unavailable", Help: "Number of PubSub Topics node is subscribed to", }, []string{"storenode"},