diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index 2b637ad24..f14703738 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -124,7 +124,7 @@ func Init(resetCacheIfNeeded func(mrs []storage.MetricRow)) { *DataPath, time.Since(startTime).Seconds(), partsCount, blocksCount, rowsCount, sizeBytes) registerStorageMetrics(Storage) - promdb.Init(retentionPeriod.Msecs) + promdb.Init(retentionPeriod.Milliseconds()) } // Storage is a storage.