Hey guys, Im trying to figure out how to send to mute notifications for a
specific instance which is doing snapshots, so would like to avoid the spam
notifications if possible.
But I'm failing to understand how to do the routing for that specific
instance to be muted on specific time intervals, anybody would be kind
enough to guide me?
I tried the below but it seems its disregarding the matcher.
Thank you very much.
global:
resolve_timeout: 30s
route:
group_by: [cluster, alertname, severity]
group_wait: 1m
group_interval: 5m
repeat_interval: 30m
receiver: 'slack-email-notifications'
routes:
- receiver: 'slack-email-notifications'
matchers:
- severity="warning"
- receiver: 'slack-email-pagerduty-notifications'
matchers:
- severity="critical"
- receiver: 'slack-email-notifications'
matchers:
- severity="warning"
- instance_name="dr-00"
mute_time_intervals:
- 'dr-downtime-hours'
receivers:
- name: slack-email-notifications
slack_configs:
.......
email_configs:
........
- name: slack-email-pagerduty-notifications
slack_configs:
..........
email_configs:
..........
pagerduty_configs:
......
mute_time_intervals:
- name: dr-downtime-hours
time_intervals:
- times:
- start_time: '18:00'
end_time: '18:30'
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/214acff6-a2bd-4411-976d-994532091ae5n%40googlegroups.com.