fix(alerts): tune regroup alert telegram
This commit is contained in:
parent
5e8dab8858
commit
ef23a5cf4a
@ -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" .}}'
|
||||||
|
Loading…
Reference in New Issue
Block a user