Skip to content

Commit

Permalink
fix metric name for a compactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani committed Dec 8, 2023
1 parent 51567ad commit f093056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compactor/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}),
Expand Down

0 comments on commit f093056

Please sign in to comment.