Prometheus + Instatus

  1. Wejdź na Instatus, w sekcji Integracje wybierz Prometheus
  2. Wybierz szablony używane przy tworzeniu i rozwiązywaniu automatycznych incydentów
  3. Skopiuj URL webhooka swojej strony
  4. Skonfiguruj Alertmanagera z odbiornikiem webhook w pliku alertmanager.yml.
global:
resolve_timeout: 5m
route:
receiver: webhook_receiver
receivers:
- name: webhook_receiver
webhook_configs:
- url: "<INSERT-YOUR-WEBHOOK>"
send_resolved: true
  1. Zamień <INSERT-YOUR-WEBHOOK> na webhook wygenerowany wcześniej w pliku alertmanager.yml i uruchom Alertmanagera poniższym poleceniem.

  2. Uruchom Alertmanagera poleceniem alertmanager --config.file=alertmanager.yml

Gotowe! 👏