Alertmanager
1. Integration Key をコピー
追加した Auto-Trigger Integration の項目に Key が表示されているのでそれをコピーしてください。

2. receiver の追加
Alertmanager から Waroom へアラートを送信できるように /etc/alertmanager/alertmanager.yml の receivers に以下を webhook の設定を追加します。
credentials には前項でコピーした Integration Key を入力してください。
receivers:
- name: 'waroom-notifications' # 任意のレシーバー名
webhook_configs:
- url: 'https://api.app.waroom.com/v1/events/alertmanager'
send_resolved: true
http_config:
authorization:
credentials: '{{ Integration Key }}'
Waroom が Alertmanager からアラートを受け取ると、/etc/prometheus/prometheus.yml に設定した alert の (1) がインシデントのタイトル、(2) がインシデントの詳細として扱われインシデントが作成されます。
groups:
- name: example
rules:
- alert: HighRequestLatency # (1)
# ~省略~
annotations:
description: High request latency # (2)