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 d8043f7161
commit c98725db55

View file

@ -358,10 +358,10 @@ func registerStorageMetrics() {
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)
})