diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index 7695834c63..cc510c58a6 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -454,7 +454,7 @@ func registerStorageMetrics(strg *storage.Storage) { metrics.NewGauge(`vm_cache_entries{type="storage/regexps"}`, func() float64 { return float64(storage.RegexpCacheSize()) }) - metrics.NewGauge(`vm_cache_size_entries{type="storage/prefetchedMetricIDs"}`, func() float64 { + metrics.NewGauge(`vm_cache_entries{type="storage/prefetchedMetricIDs"}`, func() float64 { return float64(m().PrefetchedMetricIDsSize) })