mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
wal: Add _total
suffix as metric is a counter
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
This commit is contained in:
parent
3db36f021b
commit
e708ba1d14
|
@ -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"})
|
||||
|
||||
|
|
Loading…
Reference in a new issue