Skip to content

Commit

Permalink
Rename proposal_status label to upgrade_status
Browse files Browse the repository at this point in the history
  • Loading branch information
sin3point14 committed Nov 19, 2024
1 parent 655c98b commit 3f815dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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{
Expand Down

0 comments on commit 3f815dc

Please sign in to comment.