Alertmanager¶
Group and repeat intervals¶
Set the sum of route.repeat_interval↰ and route.group_interval↰ Alertmanager's options less than incident.timeouts.firing↰ (the explanation is here):
route:
repeat_interval: 354m
group_interval: 5m
Inhibition¶
IMPulse's inhibition is similar to Alertmanager's.
In order for IMPulse to work correctly, you need to move the inhibit_rules section from Alertmanager to IMPulse config as is. This will help avoid the appearance of unnecessary unknown statuses.
Receiver¶
Set IMPulse as default receiver:
receivers:
- name: 'impulse'
webhook_configs:
- url: 'http://<impulse_host>:<impulse_port>/'
route:
receiver: 'impulse'
Routing¶
IMPulse's route is similar to Alertmanager's, but simpler.
If you used alert routing in Alertmanager, the routing rules need to be moved to IMPulse. For this, you can move the entire Alertmanager's route↰ block from alertmanager.yml↰ to impulse.yml↰. Don't forget to remove all unused fields and replace all receiver↰ entries with chain↰ and channel↰. Fill them in correctly.