From 7354090aad3222093d6085ad4900432eabadf53c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 9 Jun 2019 22:11:09 +0300 Subject: [PATCH] app/vmstorage: add missing `_total` suffixes to newly added metrics --- app/vmstorage/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index a78a17946..96c364122 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -285,16 +285,16 @@ func registerStorageMetrics(strg *storage.Storage) { metrics.NewGauge(`vm_missing_tsids_for_metric_id_total`, func() float64 { return float64(idbm().MissingTSIDsForMetricID) }) - metrics.NewGauge(`vm_recent_hour_metric_ids_search_calls`, func() float64 { + metrics.NewGauge(`vm_recent_hour_metric_ids_search_calls_total`, func() float64 { return float64(idbm().RecentHourMetricIDsSearchCalls) }) - metrics.NewGauge(`vm_recent_hour_metric_ids_search_hits`, func() float64 { + metrics.NewGauge(`vm_recent_hour_metric_ids_search_hits_total`, func() float64 { return float64(idbm().RecentHourMetricIDsSearchHits) }) - metrics.NewGauge(`vm_date_metric_ids_search_calls`, func() float64 { + metrics.NewGauge(`vm_date_metric_ids_search_calls_total`, func() float64 { return float64(idbm().DateMetricIDsSearchCalls) }) - metrics.NewGauge(`vm_date_metric_ids_search_hits`, func() float64 { + metrics.NewGauge(`vm_date_metric_ids_search_hits_total`, func() float64 { return float64(idbm().DateMetricIDsSearchHits) })