Prometheus + Instatus
- Wejdź na Instatus, w sekcji Integracje wybierz Prometheus
- Wybierz szablony używane przy tworzeniu i rozwiązywaniu automatycznych incydentów
- Skopiuj URL webhooka swojej strony
- Skonfiguruj Alertmanagera z odbiornikiem webhook w pliku
alertmanager.yml.
global:resolve_timeout: 5mroute:receiver: webhook_receiverreceivers:- name: webhook_receiverwebhook_configs:- url: "<INSERT-YOUR-WEBHOOK>"send_resolved: true
-
Zamień
<INSERT-YOUR-WEBHOOK>na webhook wygenerowany wcześniej w pliku alertmanager.yml i uruchom Alertmanagera poniższym poleceniem. -
Uruchom Alertmanagera poleceniem
alertmanager --config.file=alertmanager.yml
Gotowe! 👏