From f0930566b31a7685ebbb58cec2356e3b2adfb9c0 Mon Sep 17 00:00:00 2001 From: Sandeep Sukhani Date: Fri, 8 Dec 2023 16:55:29 +0530 Subject: [PATCH] fix metric name for a compactor --- pkg/compactor/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compactor/metrics.go b/pkg/compactor/metrics.go index 28b205789693..96fc9b16541e 100644 --- a/pkg/compactor/metrics.go +++ b/pkg/compactor/metrics.go @@ -49,7 +49,7 @@ func newMetrics(r prometheus.Registerer) *metrics { Help: "Time (in seconds) spent in applying retention", }), applyRetentionLastSuccess: promauto.With(r).NewGauge(prometheus.GaugeOpts{ - Namespace: "loki_boltdb_shipper", + Namespace: "loki_compactor", Name: "apply_retention_last_successful_run_timestamp_seconds", Help: "Unix timestamp of the last successful retention run", }),