configure probe interval and timeout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b84557d921
commit
a659ba2721
|
@ -17,6 +17,10 @@ alertmanager_cont_log_lvl: 'info'
|
|||
alertmanager_webui_port: 9093
|
||||
# Port used for clustering AlertManager peers
|
||||
alertmanager_cluster_port: 9094
|
||||
# Time to wait for ack before marking node unhealthy
|
||||
alertmanager_probe_timeout: '1000ms'
|
||||
# Interval between random node probes
|
||||
alertmanager_probe_interval: '5s'
|
||||
|
||||
# SMTP
|
||||
alertmanager_smtp_host: ~
|
||||
|
|
|
@ -17,11 +17,13 @@ services:
|
|||
- '/certs:/certs'
|
||||
command:
|
||||
- '--storage.path=/data'
|
||||
- '--log.level={{ alertmanager_cont_log_lvl }}'
|
||||
- '--config.file=/etc/alertmanager.yml'
|
||||
- '--log.level={{ alertmanager_cont_log_lvl }}'
|
||||
- '--web.external-url={{ alertmanager_url }}'
|
||||
- '--cluster.advertise-address={{ ansible_local.tinc.vpn_ip }}:{{ alertmanager_cluster_port }}'
|
||||
- '--cluster.listen-address=0.0.0.0:{{ alertmanager_cluster_port }}'
|
||||
- '--cluster.probe-timeout={{ alertmanager_probe_timeout }}'
|
||||
- '--cluster.probe-interval={{ alertmanager_probe_interval }}'
|
||||
{% for peer in alertmanager_cluster_peers %}
|
||||
- '--cluster.peer={{ peer.ServiceAddress }}:{{ alertmanager_cluster_port }}' # {{ peer.Node }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue