feat: add option alertmanager_storage_retention
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-06-03 12:44:41 +02:00
parent 1f2fe70f37
commit e6badb761f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,8 @@ alertmanager_web_tls_key_source: mykey.pem
alertmanager_log_level: error
alertmanager_storage_retention: 120h
alertmanager_template_files:
- alertmanager/templates/*.tmpl

View File

@ -14,6 +14,7 @@ WorkingDirectory={{ alertmanager_base_dir }}
ExecReload=/bin/kill -HUP $MAINPID
ExecStart={{ alertmanager_base_dir }}/alertmanager \
--storage.path={{ alertmanager_data_dir }} \
--data.retention={{ alertmanager_storage_retention }} \
--web.config.file={{ alertmanager_config_dir }}/web.yml \
--web.listen-address={{ alertmanager_web_bind_ip }}:{{ alertmanager_web_bind_port }} \
--web.external-url={{ alertmanager_web_external_url }} \