route:
routes:
- match:
receiver: slack_channel_gateway
group_by: ['alertname', 'cluster', 'service']
group_wait: 10s
group_interval: 5m
repeat_interval: 15m
- match:
receiver: slack_channel_gateway_personal
group_by: ['alertname', 'cluster', 'service']
group_wait: 1m
group_interval: 5m
repeat_interval: 15m
receivers:
- name: slack_channel_gateway
slack_configs:
- send_resolved: true
api_url: "http://apiURL1"
channel: "alerts-prod"
- name: slack_channel_gateway_personal
slack_configs:
- send_resolved: true
api_url: "http://apiURL2"
channel: "alerts-stage"
--Thanks,Sushant
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAAjpwBdJsKa6nC0WvSq0vBUnW_0it%3DDgjjiL%2BL2AxOidJjVnnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
global:
resolve_timeout: 5m
templates:
- /etc/alertmanager/template/*.tmpl
route:
routes:
- match:
continue: true
receiver: slack_channel_gateway
group_by: ['alertname', 'cluster', 'service']
group_wait: 10s
group_interval: 5m
repeat_interval: 15m
- match:
continue: true
receiver: slack_channel_gateway_personal
group_by: ['alertname', 'cluster', 'service']
group_wait: 1m
group_interval: 5m
repeat_interval: 15m
receivers:
- name: slack_channel_gateway
slack_configs:
- send_resolved: true
api_url: "url1"
channel: "alerts2"
- name: slack_channel_gateway_personal
slack_configs:
- send_resolved: true
api_url: "url2"
channel: "alerts"
Thanks,Sushant
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscri...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAAjpwBdJsKa6nC0WvSq0vBUnW_0it%3DDgjjiL%2BL2AxOidJjVnnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Brian Brazil