mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Minor formatting/spelling fixups.
This commit is contained in:
parent
cca2e58f20
commit
a6bc42bc61
|
@ -15,9 +15,11 @@ package local
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
clientmodel "github.com/prometheus/client_golang/model"
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
|
||||||
|
clientmodel "github.com/prometheus/client_golang/model"
|
||||||
|
|
||||||
"github.com/prometheus/prometheus/storage/metric"
|
"github.com/prometheus/prometheus/storage/metric"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ func (s *memorySeriesStorage) loop() {
|
||||||
// checkpoint or for which the fact that the head chunk has been
|
// checkpoint or for which the fact that the head chunk has been
|
||||||
// persisted is not reflected in the most recent checkpoint. This count
|
// persisted is not reflected in the most recent checkpoint. This count
|
||||||
// could overestimate the number of dirty series, but it's good enough
|
// could overestimate the number of dirty series, but it's good enough
|
||||||
// as a heuristics.
|
// as a heuristic.
|
||||||
headChunksPersistedSinceLastCheckpoint := 0
|
headChunksPersistedSinceLastCheckpoint := 0
|
||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|
Loading…
Reference in a new issue