Datadog

Alerts

12min

Overview

Datadog can be configured to send events into Rootly as alerts. The alerts received on Rootly can then be routed to a Slack channel or used to initiate incidents.

Configure Webhook in Datadog

Please note that you will need to first have Datadog installed in Rootly before being able to ingest alerts from Datadog. If you have not installed Datadog in Rootly, please follow the instructions on the Installation page.

Log into your Datadog account and select: Integrations > Search for "Webhook" > Select Webhooks

Document image


You'll be asked to configure a webhook. Now, select + New in Webhooks section (lower left corner of the modal.

Document image


Once we have located the Webhook within Datadog, we would need to configure the Webhook to point to the following URL:

URL




You'll be promoted to enter the following details for the webhook.

Document image


Name

Give your webhook a representative name.

URL

The webhook URL can be obtained from your Datadog integration page in Rootly (Integrations > Datadog > Configure).

Document image


Payload

General Alert

Copy the following code and paste it into the Payload field. This will result in a regular (non-paging) alert.

JSON


Paging Rootly On-Call

Paging through Rootly On-Call also relies on webhook alerts. The main difference being the inclusion of a notification_target object.

JSON

  • type - this defines the Rootly resource type that will be used for paging.
    • The following are the available values:User | Group (Team) | EscalationPolicy | Service
      • 
  • id - this specifies the exact resource that will be targeted for the page.
    • The id of the resource can be found when editing each resource.
Document image


Copy the following code and paste it into the Payload field. This will result in both the alert appearing in Rootly and the targeted resource being paged.

JSON


Custom Header

Check the Custom Header checkbox and paste the following code into the text area.

JSON


Replace the secret value with the one found in your Datadog integration in Rootly (Integrations > Datadog > Configure).

Document image


Once completed, go ahead and select Save to create your webhook.

Attach Webhook to Monitor

Once your webhook is created, you need to attach it to a Datadog monitor. A monitor contains the firing logic that determines when alerts will be sent out.

Navigate to Monitor > New Monitor > Event to create a new monitor.

Document image


Now, you can configure your monitor to your desired firing logic. The main action to ensure that you do is select your webhook in the Notify your team section.

Document image


Once ready, you can select Test Notifications to test out your monitor and webhook. You should see a test alert appear from Datadog on your Rootly Alerts page.

Document image


Finally, save your monitor. The resulting product should look something like this:

Document image


Support

If you need help or more information about this integration, please contact [email protected] or start a chat by navigating to Help > Chat with Us.

Updated 12 Sep 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?