From e708ba1d14850379145a289bda553fc246219f5d Mon Sep 17 00:00:00 2001 From: Frederic Branczyk Date: Wed, 5 Jun 2019 09:23:40 +0200 Subject: [PATCH] wal: Add `_total` suffix as metric is a counter Signed-off-by: Frederic Branczyk --- wal/live_reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wal/live_reader.go b/wal/live_reader.go index f85978ba1..b62845fae 100644 --- a/wal/live_reader.go +++ b/wal/live_reader.go @@ -38,7 +38,7 @@ func NewLiveReader(logger log.Logger, reg prometheus.Registerer, r io.Reader) *L } lr.readerCorruptionErrors = prometheus.NewCounterVec(prometheus.CounterOpts{ - Name: "prometheus_tsdb_wal_reader_corruption_errors", + Name: "prometheus_tsdb_wal_reader_corruption_errors_total", Help: "Errors encountered when reading the WAL.", }, []string{"error"})