diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index f4e24cf5a3..ad39a3ed65 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -523,7 +523,7 @@ func registerStorageMetrics() { 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) })