From 7b88e03bd7448abdfe371e0783d6dc5878fcc402 Mon Sep 17 00:00:00 2001 From: George Robinson Date: Thu, 20 Jun 2024 16:19:51 +0100 Subject: [PATCH] Fix missing constant in 2.9.x --- pkg/ingester/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingester/metrics.go b/pkg/ingester/metrics.go index 4d0edd9090267..cb376ce18b837 100644 --- a/pkg/ingester/metrics.go +++ b/pkg/ingester/metrics.go @@ -231,7 +231,7 @@ func newIngesterMetrics(r prometheus.Registerer) *ingesterMetrics { Buckets: prometheus.ExponentialBuckets(0.01, 4, 6), }), chunksFlushFailures: promauto.With(r).NewCounter(prometheus.CounterOpts{ - Namespace: constants.Loki, + Namespace: "loki", Name: "ingester_chunks_flush_failures_total", Help: "Total number of flush failures.", }),