Prometheus + Instatus
- Go to Instatus, under Integrations, select Prometheus
- Select the templates to use when creating and resolving automated incidents
- Copy your page's webhook URL
- Set up Alertmanager with a webhook receiver in the
alertmanager.ymlfile.
global:resolve_timeout: 5mroute:receiver: webhook_receiverreceivers:- name: webhook_receiverwebhook_configs:- url: "<INSERT-YOUR-WEBHOOK>"send_resolved: true
-
Replace
<INSERT-YOUR-WEBHOOK>with the webhook that you generated earlier in the alertmanager.yml file and run the Alertmanager using the following command. -
Run the Alert manager using the following command
alertmanager --config.file=alertmanager.yml
We're done! 👏