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

@@ -18,7 +18,7 @@ use super::error::ApiError;
lazy_static! {
static ref SERVE_METRICS_COUNT: IntCounter = register_int_counter!(
"libmetrics_serve_metrics_count",
"libmetrics_metric_handler_requests_total",
"Number of metric requests made"
)
.expect("failed to define a metric");