add more parameters to configure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
79690b66ca
commit
5333cc9770
|
@ -20,6 +20,12 @@ alertmanager_domain: ~
|
|||
alertmanager_url: 'https://{{ alertmanager_domain | mandatory }}/'
|
||||
alertmanager_admin_email: ~
|
||||
|
||||
# Route configuration
|
||||
alertmanager_group_by: ['alertname', 'cluster']
|
||||
alertmanager_group_wait: '30s'
|
||||
alertmanager_group_interval: '3m'
|
||||
alertmanager_repeat_interval: '1h'
|
||||
|
||||
# VictorOps paging service
|
||||
alertmanager_victorops_api_key: ~
|
||||
alertmanager_victorops_service_url: ~
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
global:
|
||||
# SMTP authentication information.
|
||||
smtp_from: '{{ alertmanager_smtp_from }}'
|
||||
|
@ -13,13 +14,13 @@ route:
|
|||
# Default destination fo all alerts
|
||||
receiver: 'admin-email'
|
||||
# How to group together alerts
|
||||
group_by: ['alertname', 'cluster']
|
||||
group_by: {{ alertmanager_group_by | to_yaml }}
|
||||
# Wait this much before initial notification to group them.
|
||||
group_wait: 30s
|
||||
group_wait: '{{ alertmanager_group_wait }}'
|
||||
# Wait before sending another batch for a group.
|
||||
group_interval: 3m
|
||||
group_interval: '{{ alertmanager_group_interval }}'
|
||||
# Wait this much to resend notifications.
|
||||
repeat_interval: 1h
|
||||
repeat_interval: '{{ alertmanager_repeat_interval }}'
|
||||
|
||||
routes:
|
||||
# send all notifications to slack too
|
||||
|
|
Loading…
Reference in New Issue