feat: add option alertmanager_storage_retention
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1f2fe70f37
commit
e6badb761f
@ -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
|
||||
|
||||
|
@ -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 }} \
|
||||
|
Loading…
Reference in New Issue
Block a user