From 6027af95ca5ccb6ce90c104c4a059f53646808af Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Wed, 8 Nov 2017 14:58:03 +0100 Subject: [PATCH] Fix missing prefix of tsdb_wal_* metrics --- wal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wal.go b/wal.go index b0cea8f09..72e8bc070 100644 --- a/wal.go +++ b/wal.go @@ -63,11 +63,11 @@ func newWalMetrics(wal *SegmentWAL, r prometheus.Registerer) *walMetrics { m := &walMetrics{} m.fsyncDuration = prometheus.NewSummary(prometheus.SummaryOpts{ - Name: "tsdb_wal_fsync_duration_seconds", + Name: "prometheus_tsdb_wal_fsync_duration_seconds", Help: "Duration of WAL fsync.", }) m.corruptions = prometheus.NewCounter(prometheus.CounterOpts{ - Name: "tsdb_wal_corruptions_total", + Name: "prometheus_tsdb_wal_corruptions_total", Help: "Total number of WAL corruptions.", })