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"}
This commit is contained in:
Aliaksandr Valialkin 2019-07-26 20:00:35 +03:00
parent c6bec48927
commit 8253790157

View File

@ -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)
})