Komodor-Datadog webhook integration allows Komodor to receive alerts from Datadog Monitors. You will see all alerts in the Komodor Service View.
Installation
Prerequisites
In order for us to connect your services according to Datadog events, the following environment variables should exist on your kubernetes deployments: - DD_ENV should match the environment specified on the Datadog tags - DD_SERVICE should match the service name specified on the Datadog tags
Installation Steps
- Make sure the prerequisites above are met.
- Locate the Datadog installation tile on Komodor Integrations page.
- Press Install Integration.
- Follow the on screen instructions.
a. Ensure that the Application Key > Scope has monitors_write and integrations_read permissions
Confirmation
- A Datadog Integration tile will be added to the top section under Installed Integrations.
Configuring the webhook in Datadog
- Go to Datadog Webhook Integration Setup
- Create a
+ NewWebhook - Name the webhook
komodor - Enter the webhook server URL in the URL field: https://app.komodor.com/collector/datadog/webhook
- Copy the following Payload schema into the Payload field:
{
"body": "$EVENT_MSG",
"last_updated": "$LAST_UPDATED",
"event_type": "$EVENT_TYPE",
"title": "$EVENT_TITLE",
"date": "$DATE",
"org": {
"id": "$ORG_ID",
"name": "$ORG_NAME"
},
"id": "$ID",
"tags": "$TAGS",
"alert": {
"id": "$ALERT_ID",
"type": "$ALERT_TYPE",
"transition": "$ALERT_TRANSITION",
"cycleId": "$ALERT_CYCLE_KEY",
"priority": "$PRIORITY",
"status": "$ALERT_STATUS",
"scope": "$ALERT_SCOPE",
"query": "$ALERT_QUERY",
"metric": "$ALERT_METRIC",
"metric_namespace": "$METRIC_NAMESPACE"
},
"aggregation_key": "$AGGREG_KEY",
"link": "$LINK",
"snapshot": "$SNAPSHOT",
"user": "$USER",
"username": "$USERNAME",
"email": "$EMAIL"
}
- Add a Custom Header
X-API-KEYwith the Api Key found in the Komodor Integration page from the Datadog integration tile at the menu as "Copy Komodor API Key", in a JSON format.
{"X-API-KEY": "YOUR_KOMODOR_API_KEY"}
- When completed click on
Save. - For every monitor you wish to receive alerts from in Komodor. Edit the monitor and add
@webhook-komodorat the end of the Monitor message.
Comments
0 comments
Please sign in to leave a comment.