From 8b98fb2916d7881334c88b3e7df71303b8aa6931 Mon Sep 17 00:00:00 2001 From: Nick Turner Date: Fri, 11 Feb 2022 10:28:19 -0800 Subject: [PATCH] Rename configmap_watch_failures to configmap_watch_failures_total See https://prometheus.io/docs/practices/naming/. This has not been included in a release so we are not going to deprecate it. --- pkg/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 59ba82973..ced52377a 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -37,7 +37,7 @@ func CreateMetrics(reg prometheus.Registerer) Metrics { ConfigMapWatchFailures: factory.NewCounter( prometheus.CounterOpts{ Namespace: Namespace, - Name: "configmap_watch_failures", + Name: "configmap_watch_failures_total", Help: "EKS Configmap watch failures", }, ),