mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-29 14:43:21 -08:00
Merge pull request #622 from prometheus/live-reader-metric-suffix
wal: Add `_total` suffix as metric is a counter
This commit is contained in:
commit
731ed22ac8
|
@ -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