From 3f815dc75b7fd03ea515c3df8d9e99781eff6512 Mon Sep 17 00:00:00 2001 From: sin3point14 Date: Tue, 19 Nov 2024 21:18:48 +0530 Subject: [PATCH] Rename proposal_status label to upgrade_status --- internal/pkg/metrics/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/metrics/metrics.go b/internal/pkg/metrics/metrics.go index e971124..1525c73 100644 --- a/internal/pkg/metrics/metrics.go +++ b/internal/pkg/metrics/metrics.go @@ -42,7 +42,7 @@ func NewMetrics(composeFile string, hostname string, version string) (*Metrics, Help: "ID of the current step of the upgrade process", ConstLabels: labels, }, - []string{"upgrade_height", "upgrade_name", "proposal_status"}, + []string{"upgrade_height", "upgrade_name", "upgrade_status"}, ), BlocksToUpgrade: promauto.NewGaugeVec( prometheus.GaugeOpts{ @@ -51,7 +51,7 @@ func NewMetrics(composeFile string, hostname string, version string) (*Metrics, Help: "Number of blocks to the upgrade height", ConstLabels: labels, }, - []string{"upgrade_height", "upgrade_name", "proposal_status"}, + []string{"upgrade_height", "upgrade_name", "upgrade_status"}, ), UpwErrs: promauto.NewCounter( prometheus.CounterOpts{