From 825379015793e2635ca80a596f6dfd4a003b636d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 26 Jul 2019 20:00:35 +0300 Subject: [PATCH] app/vmstorage: consistency renaming for `ignored rows` metrics vm_too_big_timestamp_rows_total -> vm_rows_ignored_total{reason="big_timestamp"} vm_too_small_timestamp_rows_total -> vm_rows_ignored_total{reason="small_timestamp"} --- app/vmstorage/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index bc26b743c7..758c973257 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -301,10 +301,10 @@ func registerStorageMetrics(strg *storage.Storage) { return float64(idbm().SizeBytes) }) - metrics.NewGauge(`vm_too_big_timestamp_rows_total`, func() float64 { + metrics.NewGauge(`vm_rows_ignored_total{reason="big_timestamp"}`, func() float64 { return float64(m().TooBigTimestampRows) }) - metrics.NewGauge(`vm_too_small_timestamp_rows_total`, func() float64 { + metrics.NewGauge(`vm_rows_ignored_total{reason="small_timestamp"}`, func() float64 { return float64(m().TooSmallTimestampRows) })