MCPcopy
hub / github.com/prometheus/prometheus / LeveledCompactor

Struct LeveledCompactor

tsdb/compact.go:80–93  ·  view source on GitHub ↗

LeveledCompactor implements the Compactor interface.

Source from the content-addressed store, hash-verified

78
79// LeveledCompactor implements the Compactor interface.
80type LeveledCompactor struct {
81 metrics *CompactorMetrics
82 logger *slog.Logger
83 ranges []int64
84 chunkPool chunkenc.Pool
85 ctx context.Context
86 maxBlockChunkSegmentSize int64
87 useUncachedIO bool
88 mergeFunc storage.VerticalChunkSeriesMergeFunc
89 blockExcludeFunc BlockExcludeFilterFunc
90 postingsEncoder index.PostingsEncoder
91 postingsDecoderFactory PostingsDecoderFactory
92 enableOverlappingCompaction bool
93}
94
95type CompactorMetrics struct {
96 Ran prometheus.Counter

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected