Skip to content

Commit

Permalink
Update cmd/prometheus/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ayoub Mrini <[email protected]>
Signed-off-by: Alban Hurtaud <[email protected]>
  • Loading branch information
ahurtaud and machine424 authored Oct 14, 2024
1 parent 987aeed commit 0df5b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/prometheus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func main() {
Default("120").Hidden().IntVar(&cfg.tsdb.SamplesPerChunk)

serverOnlyFlag(a, "storage.tsdb.delayed-compaction.max-percent", "Sets the upper limit for the random compaction delay, specified as a percentage of the head chunk range. 100 means the compaction can be delayed by up to the entire head chunk range. Only effective when the delayed-compaction feature flag is enabled.").
Default("10").Hidden().IntVar(&cfg.tsdb.CompactDelayPercentageRange)
Default("10").Hidden().IntVar(&cfg.tsdb.CompactionDelayMaxPercent)

Check failure on line 396 in cmd/prometheus/main.go

View workflow job for this annotation

GitHub Actions / Go tests on Windows

cfg.tsdb.CompactionDelayMaxPercent undefined (type tsdbOptions has no field or method CompactionDelayMaxPercent)

Check failure on line 396 in cmd/prometheus/main.go

View workflow job for this annotation

GitHub Actions / golangci-lint

cfg.tsdb.CompactionDelayMaxPercent undefined (type tsdbOptions has no field or method CompactionDelayMaxPercent) (typecheck)

agentOnlyFlag(a, "storage.agent.path", "Base path for metrics storage.").
Default("data-agent/").StringVar(&cfg.agentStoragePath)
Expand Down

0 comments on commit 0df5b4c

Please sign in to comment.