From 4c3913290a50d83cf53b39d571939c43ef133201 Mon Sep 17 00:00:00 2001
From: Aliaksandr Valialkin <valyala@gmail.com>
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 c3751fd0ef..31bf615a2d 100644
--- a/app/vmstorage/main.go
+++ b/app/vmstorage/main.go
@@ -243,16 +243,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)
 	})