diff --git a/storage/local/interface.go b/storage/local/interface.go index e2253667db..2a7fae261b 100644 --- a/storage/local/interface.go +++ b/storage/local/interface.go @@ -15,9 +15,11 @@ package local import ( "time" - clientmodel "github.com/prometheus/client_golang/model" + "github.com/prometheus/client_golang/prometheus" + clientmodel "github.com/prometheus/client_golang/model" + "github.com/prometheus/prometheus/storage/metric" ) diff --git a/storage/local/storage.go b/storage/local/storage.go index b4443d75e4..d64eadd2d2 100644 --- a/storage/local/storage.go +++ b/storage/local/storage.go @@ -666,7 +666,7 @@ func (s *memorySeriesStorage) loop() { // checkpoint or for which the fact that the head chunk has been // persisted is not reflected in the most recent checkpoint. This count // could overestimate the number of dirty series, but it's good enough - // as a heuristics. + // as a heuristic. headChunksPersistedSinceLastCheckpoint := 0 defer func() {