mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmstorage: add missing _total
suffixes to newly added metrics
This commit is contained in:
parent
d37924900b
commit
7354090aad
1 changed files with 4 additions and 4 deletions
|
@ -285,16 +285,16 @@ func registerStorageMetrics(strg *storage.Storage) {
|
||||||
metrics.NewGauge(`vm_missing_tsids_for_metric_id_total`, func() float64 {
|
metrics.NewGauge(`vm_missing_tsids_for_metric_id_total`, func() float64 {
|
||||||
return float64(idbm().MissingTSIDsForMetricID)
|
return float64(idbm().MissingTSIDsForMetricID)
|
||||||
})
|
})
|
||||||
metrics.NewGauge(`vm_recent_hour_metric_ids_search_calls`, func() float64 {
|
metrics.NewGauge(`vm_recent_hour_metric_ids_search_calls_total`, func() float64 {
|
||||||
return float64(idbm().RecentHourMetricIDsSearchCalls)
|
return float64(idbm().RecentHourMetricIDsSearchCalls)
|
||||||
})
|
})
|
||||||
metrics.NewGauge(`vm_recent_hour_metric_ids_search_hits`, func() float64 {
|
metrics.NewGauge(`vm_recent_hour_metric_ids_search_hits_total`, func() float64 {
|
||||||
return float64(idbm().RecentHourMetricIDsSearchHits)
|
return float64(idbm().RecentHourMetricIDsSearchHits)
|
||||||
})
|
})
|
||||||
metrics.NewGauge(`vm_date_metric_ids_search_calls`, func() float64 {
|
metrics.NewGauge(`vm_date_metric_ids_search_calls_total`, func() float64 {
|
||||||
return float64(idbm().DateMetricIDsSearchCalls)
|
return float64(idbm().DateMetricIDsSearchCalls)
|
||||||
})
|
})
|
||||||
metrics.NewGauge(`vm_date_metric_ids_search_hits`, func() float64 {
|
metrics.NewGauge(`vm_date_metric_ids_search_hits_total`, func() float64 {
|
||||||
return float64(idbm().DateMetricIDsSearchHits)
|
return float64(idbm().DateMetricIDsSearchHits)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue