diff --git a/compact.go b/compact.go index b82d9a04ce..713ddc3155 100644 --- a/compact.go +++ b/compact.go @@ -91,8 +91,8 @@ func newCompactorMetrics(r prometheus.Registerer) *compactorMetrics { Help: "Total number of compactions that failed for the partition.", }) m.duration = prometheus.NewHistogram(prometheus.HistogramOpts{ - Name: "prometheus_tsdb_compaction_duration", - Help: "Duration of compaction runs.", + Name: "prometheus_tsdb_compaction_duration_seconds", + Help: "Duration of compaction runs", Buckets: prometheus.ExponentialBuckets(1, 2, 10), }) m.chunkSize = prometheus.NewHistogram(prometheus.HistogramOpts{