Prometheus + Instatus

  1. Acesse a Instatus, em Integrações, selecione Prometheus
  2. Selecione os modelos a usar ao criar e resolver incidentes automatizados
  3. Copie a URL do webhook da sua página
  4. Configure o Alertmanager com um receptor de webhook no arquivo alertmanager.yml.
global:
resolve_timeout: 5m
route:
receiver: webhook_receiver
receivers:
- name: webhook_receiver
webhook_configs:
- url: "<INSERT-YOUR-WEBHOOK>"
send_resolved: true
  1. Substitua <INSERT-YOUR-WEBHOOK> pelo webhook que você gerou antes no arquivo alertmanager.yml e rode o Alertmanager com o comando a seguir.

  2. Rode o Alertmanager com o comando alertmanager --config.file=alertmanager.yml

Pronto! 👏