fix(alerts): tune regroup alert telegram

This commit is contained in:
nyyu 2022-12-10 09:46:45 +01:00
parent 5e8dab8858
commit ef23a5cf4a

View File

@ -2,9 +2,9 @@ global:
templates: templates:
- /etc/alertmanager/templates/*.tmpl - /etc/alertmanager/templates/*.tmpl
route: route:
group_wait: 10s group_wait: 5m
group_interval: 30s group_interval: 15m
repeat_interval: 30m repeat_interval: 1h
group_by: [alertname, instance] group_by: [alertname, instance]
receiver: telegram receiver: telegram
receivers: receivers:
@ -14,4 +14,4 @@ receivers:
chat_id: CHAT_ID chat_id: CHAT_ID
api_url: https://api.telegram.org api_url: https://api.telegram.org
parse_mode: 'HTML' parse_mode: 'HTML'
message: '{{ template "telegram.custom.message" .}}' message: '{{ template "telegram.custom.message" .}}'