ログイン

Datadog

1. Integration Key をコピー

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

Integration Key

2. Webhook Integration の設定

https://docs.datadoghq.com/integrations/webhooks/ を参考に、Datadog に Webhook Integration を追加します。

URL は https://api.app.waroom.com/v1/events/datadog を設定します。

PAYLOAD は以下のように設定します。

{
  "event": {
    "title": "$ALERT_TITLE",
    "description": "$EVENT_TITLE \n Related Graph: $LINK",
    "alert_type": "$ALERT_TYPE",
    "aggregation_key": "$AGGREG_KEY"
  }
}

CUSTOM HEADERS は以下のように設定します。

{
  "Content-type": "application/json",
  "Authorization": "{{ Integration Key }}"
}