From b443b7cd2282506aaa111d388c7050328d7b78a6 Mon Sep 17 00:00:00 2001 From: gibix Date: Fri, 31 May 2024 15:39:29 +0200 Subject: [PATCH] docs: fix config_flags_extra wrong example 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 --- roles/prometheus/meta/argument_specs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/prometheus/meta/argument_specs.yml b/roles/prometheus/meta/argument_specs.yml index 2992fd99..393872e6 100644 --- a/roles/prometheus/meta/argument_specs.yml +++ b/roles/prometheus/meta/argument_specs.yml @@ -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: