Add _total suffix to metrics name (#1741)

This commit is contained in:
Arthur Petukhovsky
2022-05-18 15:17:04 +03:00
committed by GitHub
parent 772c2fb4ff
commit 98da0aa159
4 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ pub fn gather() -> Vec<prometheus::proto::MetricFamily> {
lazy_static! {
static ref DISK_IO_BYTES: IntGaugeVec = register_int_gauge_vec!(
"libmetrics_disk_io_bytes",
"libmetrics_disk_io_bytes_total",
"Bytes written and read from disk, grouped by the operation (read|write)",
&["io_operation"]
)