Configure a webhook in Datadog

Configure webhook endpoints so that Datadog can use the endpoint to communicate with Incident Response.

Before you begin

Ensure you have created an account in Datadog.

Role required: Responder, Manager, or Administrator

About this task

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.

Procedure

  1. Log in to the Datadog console.
    The Datadog console.
  2. From the left navigation pane, click Integrations > Integrations.
    The integration option in Datadog.
  3. Search for Webhooks and click to open the Webhooks card.
    The webhook card in Datadog.
  4. Click the Configuration tab.
    The Configuration tab in Datadog.
  5. To create a webhook, scroll down to the Webhooks section and click New.
    Create a new webhook in Datadog.
    The New Webhook form is displayed.
    The fields required for creatign a webhook in Datadog.
  6. On the form, fill in the fields.
    Field Description
    Name Name of the webhook.
    URL Webhook URL that you have already created. For more information on how to generate a webhook URL, see Create a webhook endpoint for Datadog.
    Payload JSON object that describes the file or folder (target) that triggered the webhook, as well as the event that has been triggered. For information on the payload format, see Payload format to be configured in Datadog.
    Note: Custom headers must be in the JSON format.
    Custom Headers Option to send custom header fields along with the outgoing request.
    Note: Custom headers must be in the JSON format.
    Encode as form Option to convert the payload into a valid URL format.
  7. Click Save.
  8. From the left navigation pane, click Monitors > Manage Monitors.
    The Manage Monitor option.
  9. Click New Monitor.
    The option to create a new monitor.
  10. Under the Custom Monitors tab, select the monitor type as Metric.
    Define your metric in Datadog.
  11. Choose the detection method and define the metric.
    Choose the detection method for your metric.
  12. In the Set alert conditions section, set conditions for your alert.
    Set the alert conditions for your alert.
  13. In the Say what's happening section, under the Edit tab, enter a name for the monitor.
    Define the monitor conditions.
  14. In the Notify your team section, in the first field, select the webhook integration that you created.
    Select your webhook integration and the conditions for notification.
  15. To verify if the integration is working fine with Incident Response, click Test Notifications.
  16. Click Save.