Skip to content

Commit

Permalink
docs: fix config_flags_extra wrong example
Browse files Browse the repository at this point in the history
The prometheus configuration `storage.tsdb.retention` should be setted
via `prometheus_storage_retention`. If setted via
`prometheus_config_flags_extra` it throws `duplicating configuration`
error.

Signed-off-by: gibix <[email protected]>
  • Loading branch information
gibix committed May 31, 2024
1 parent 4af5c9b commit b443b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/prometheus/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ argument_specs:
prometheus_config_flags_extra:
description:
- "Additional configuration flags passed to prometheus binary at startup"
- "Example: prometheus_config_flags_extra: { storage.tsdb.retention: 15d, alertmanager.timeout: 10s }"
- "Example: prometheus_config_flags_extra: { alertmanager.timeout: 10s }"
type: "dict"
prometheus_alertmanager_config:
description:
Expand Down

0 comments on commit b443b7c

Please sign in to comment.