MCPcopy
hub / github.com/grafana/tempo / CompactorConfig

Struct CompactorConfig

tempodb/config.go:127–136  ·  view source on GitHub ↗

CompactorConfig contains compaction configuration options

Source from the content-addressed store, hash-verified

125
126// CompactorConfig contains compaction configuration options
127type CompactorConfig struct {
128 MaxCompactionRange time.Duration `yaml:"compaction_window"`
129 MaxCompactionObjects int `yaml:"max_compaction_objects"`
130 MaxBlockBytes uint64 `yaml:"max_block_bytes"`
131 BlockRetention time.Duration `yaml:"block_retention"`
132 CompactedBlockRetention time.Duration `yaml:"compacted_block_retention"`
133 RetentionConcurrency uint `yaml:"retention_concurrency"`
134 MaxTimePerTenant time.Duration `yaml:"max_time_per_tenant"`
135 CompactionCycle time.Duration `yaml:"compaction_cycle"`
136}
137
138func (cfg *CompactorConfig) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) {
139 // fill in default values

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected