mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
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:
parent
c6bec48927
commit
8253790157
@ -301,10 +301,10 @@ func registerStorageMetrics(strg *storage.Storage) {
|
|||||||
return float64(idbm().SizeBytes)
|
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)
|
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)
|
return float64(m().TooSmallTimestampRows)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user