Prometheus + Instatus
- Acesse a Instatus, em Integrações, selecione Prometheus
- Selecione os modelos a usar ao criar e resolver incidentes automatizados
- Copie a URL do webhook da sua página
- Configure o Alertmanager com um receptor de webhook no arquivo
alertmanager.yml.
global:resolve_timeout: 5mroute:receiver: webhook_receiverreceivers:- name: webhook_receiverwebhook_configs:- url: "<INSERT-YOUR-WEBHOOK>"send_resolved: true
-
Substitua
<INSERT-YOUR-WEBHOOK>pelo webhook que você gerou antes no arquivo alertmanager.yml e rode o Alertmanager com o comando a seguir. -
Rode o Alertmanager com o comando
alertmanager --config.file=alertmanager.yml
Pronto! 👏