mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-05 14:22:15 +01:00
app/vmstorage: add missing _total
suffixes to newly added metrics
This commit is contained in:
parent
d882afa905
commit
4c3913290a
@ -243,16 +243,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 New Issue
Block a user