mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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
d8043f7161
commit
c98725db55
1 changed files with 2 additions and 2 deletions
|
@ -358,10 +358,10 @@ func registerStorageMetrics() {
|
||||||
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 a new issue