Setup time: 5 Min

Integrate Datadog’s notifications with All Quiet’s Webhooks for streamlined incident management.

1. Create an integration on All Quiet

Create a Datadog integration

  1. Click on the Integrations > Inbound Tab.
  2. Click on Create New Integration.

Select Datadog for the integration’s type

  1. Enter a display name for your Datadog integration, e.g. “Datadog PROD”.
  2. Select Datadog as the type.
  3. Click Create integration.

Get the All Quiet webhook URL

Copy your integration’s webhook URL. You’ll need it later on the Datadog platform.

2. Configure DataDog

The following steps will be done on the Datadog platform. So, log in to Datadog with your account.

Install Webhooks integration

  1. In the navigation menu, click on Integrations
  2. Install the Webhooks integration and configure it

Create a new webhook

In the Configuration tab, click on New Webhook

Configure DataDog webhook

  1. Give your webhook a name, e.g. “All-Quiet-Webhook”
  2. Paste in the All Quiet webhook URL you’ve obtained in step Get The All Quiet Webhook URL.
  3. Configure the payload that Datadog should send to All Quiet. You can copy & paste the JSON snippet datadog-payload.json provided below.
  4. Finally, save the integration.
datadog-payload.json
{
    "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",
    "alert_id": "$ALERT_ID",
    "alert_status": "$ALERT_STATUS",
    "alert_title": "$ALERT_TITLE",
    "alert_type": "$ALERT_TYPE",
    "alert_metric": "$ALERT_METRIC",
    "alert_priority": "$ALERT_PRIORITY",
    "link":"$LINK",
    "snapshot":"$SNAPSHOT"
}

Configure your monitor

  1. Click on Monitors
  2. Select one of your monitors and open its edit page. In this example, the monitor’s name was “My Watchdog Monitor”.
  3. In the subsection “Configure notifications & automations”, tag your newly created hook with “@webhook-Your-Webhook-Name”. This will tell Datadog to use your webhook integration as a notification destination.

Set your monitor’s priority

  1. Within step “Configure notifications & automations”, scroll down to section “Metadata”
  2. You’ll find a select box to set the priority of your monitor.
  3. P1,P2 will map to severity Critical
  4. P3,P4 will map to severity Warning
  5. P5 will map to severity Minor
  6. If you don’t specify a priority, the incident’s severity will be Critical

3. Test Notifications

These steps are important to successfully test your Datadog integration on the All Quiet side.

  1. Click on Test notifications at the very bottom of the edit page.
  2. Click on Run Test to send out notifications to your newly created All Quiet integration.
  3. Finally, don’t forget to Save your integration!

Datadog’s notifications with Webhooks are now successfully integrated into All Quiet, offering enhanced incident management capabilities and efficient policy management through an intuitive interface.

Datadog Alert as All Quiet Incident

You’re done. 🥳 The next steps are merely there to verify if everything’s setup correctly!

Go back to the All Quiet Web App and navigate to the “Incidents” overview. You will see the test incident created by Datadog. Open the details page to see the incident created. If you are missing anything, you can adjust the Alert on Datadog to send the info required and map it against an All Quiet incident in the payload mapping section of your Datadog inbound integration page on All Quiet.