From ea293da1d6bb0c4f598c8790c6941d56c79c0aa3 Mon Sep 17 00:00:00 2001 From: Pat Downey Date: Tue, 4 Jul 2023 15:35:55 +0100 Subject: Fix forward metrics for backwards compatibility (#6178) --- plugin/forward/metrics.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugin/forward/metrics.go') diff --git a/plugin/forward/metrics.go b/plugin/forward/metrics.go index da0905525..246dc6500 100644 --- a/plugin/forward/metrics.go +++ b/plugin/forward/metrics.go @@ -9,13 +9,14 @@ import ( // Variables declared for monitoring. var ( - HealthcheckBrokenCount = promauto.NewCounter(prometheus.CounterOpts{ + healthcheckBrokenCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: plugin.Namespace, Subsystem: "forward", Name: "healthcheck_broken_total", Help: "Counter of the number of complete failures of the healthchecks.", }) - MaxConcurrentRejectCount = promauto.NewCounter(prometheus.CounterOpts{ + + maxConcurrentRejectCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: plugin.Namespace, Subsystem: "forward", Name: "max_concurrent_rejects_total", -- cgit v1.2.3