Datadog is a monitoring service for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform.

When an event is triggered in Datadog, an alert is created. The information of the Datadog event is carried over.

OpsRamp configuration

Step 1: Install the integration

  1. From All Clients, select a client.
  2. Navigate to Setup > Account.
  3. Select the Integrations and Apps tile.
  4. The Installed Integrations page, where all the installed applications are displayed. Note: If there are no installed applications, it will navigate to the Available Integrations and Apps page.
  5. Click +ADD on the Installed Integrations page. The Available Integrations and Apps page displays all the available applications.
  6. Search for the application using the search option available. Alternatively, use the All Categories option to search.
  7. Click ADD on the Datadog tile.

Inbound (Optional):

Datadog - Inbound configuration

To configure the inbound, follow these steps:

  1. Select the Authentication Type as Webhook.

    • Webhook: By default, Webhook is selected as the Authentication Type.
      Make a note of Tenant ID, Token and Webhook URL.
      These details are used while creating an HTTP Request template during Datadog configuration.
  2. Map Attributes: Map OpsRamp entity attributes with Datadog attributes.

    1. Click +Add from the Map Attributes section.

    2. From the Add Map Attributes window, enter the below information:

      • OpsRamp Entity: Select Alert from the dropdown.
      • OpsRamp Property: Select the OpsRamp property from the dropdown.
      • Datadog Entity: Enter the Datadog entity value in the box and click the +value from the dropdown to add it. You can add multiple values.
      • Datadog Property: Enter the Datadog property.

      Parsing Condition:

      1. Click +Add and provide the parsing condition:
      2. Select an operator from the dropdown and enter a value in the fields accordingly. Based on the operator selected, the fields vary.
      3. Click Save. Click +Add to add more conditions.

      Property Values:

      1. Click +Property Value.
      2. Enter a value in the Datadog Property Value box and select the appropriate value from the OpsRamp Property Value dropdown.
        The options in the OpsRamp Property Value dropdown appear based on the OpsRamp Property selected.
      3. Click Save.
      • Click +Property Value to add more property values.

      Default Value: Alternatively, you can enter/select a default value in the box.

      Note: To map more attributes, click +Entity.

    3. Click Add Map Attributes. The mapped attributes list is added.

      • Click the three dots icon at the end of each row to edit or remove the map attributes.
      • Use the Filter option to filter the map attributes.

  3. Additional Settings: Select the Drop alerts from unmanaged resources checkbox if you do not want to trigger alerts from unmanaged resources.

  4. Enrich and Create Alert: Select a process definition from the dropdown. You can customize the incoming alerts according to the properties defined in the process definition.

  5. Click Finish.

Property mappings

Datadog PropertyOpsRamp Property
eventTitleAlert subject
eventDetailsAlert description
dateAlert time
eventAlertTypeAlert state
Datadog Property ValueOpsRamp Property Value
eventAlertMetricAlert metric
eventHostNameAlert resource name

Example Datadog Webhook payload

   "eventTitle":"[P1] [Warn] [TEST] MacBook-Pro CPU load is high",
   "eventAlertTitle":"[TEST] MacBook-Pro CPU load is high",
      "name":"Intg Testing"
      "eventMsg":"\n@webhook-Alerts webhook-OpsRamp-Alerts\n\nTest notification triggered by\n\n[![Metric Graph](](\n\n**system.load.1** over **host:MacBook-Pro.local** was **>= 2.0** on average during the **last 5m**.\n\nThe monitor was last triggered at Wed Feb 07 2024 10:10:43 UTC.\n\n- - -\n\n[[Monitor Status](] \u00b7 [[Edit Monitor](] \u00b7 [[View MacBook-Pro.local](] \u00b7 [[Show Processes](]\n",
      "eventTxtMsg":"\n@webhook-Alerts webhook-OpsRamp-Alerts\n\nTest notification triggered by\n\nsystem.load.1 over host:MacBook-Pro.local was >= 2.0 on average during the last 5m.\n\nMetric value: 0.0\n\nMetric Graph: \u00b7 Monitor Status: \u00b7 Edit Monitor: \u00b7 View MacBook-Pro.local: \u00b7 Show Processes: \u00b7 Event URL:",
      "eventAlertStatus":"system.load.1 over host:MacBook-Pro.local was >= 2.0 on average during the last 5m.",
      "eventAlertQuery":"avg(last_5m):avg:system.load.1{host:MacBook-Pro.local} >= 4",

Datadog configuration

Step 1: Configure Webhook

Webhook allows you to connect with OpsRamp and alert OpsRamp when an event is triggered.

  1. Log in to Datadog.

  2. Click the Integrations icon and click Integrations.

  3. Configure Webhook and click Update Configuration to save the details.

    Webhook Configuration

    1. Name: Enter a name for Webhook. For example, OpsRamp-Alerts.
    2. URL: Enter the Webhook URL copied from OpsRamp.
      For example: https://<api-url>/integrations/alertsWebhook/client_1/alerts?vtoken=bOvr34Kh3Jm3eVJkmfBND7uJ9gyF72bL
    3. Use custom payload: Select the custom payload option.
    4. Custom payload: Enter the below payload
    5. Encode as form: Not Applicable.
    6. Header: Not Applicable.
      Note: You can configure the variables for the given payload.
      Example: ORG_ID
    Name and URL for Webhook Configuration

Custom payload syntax

    "id": "$ID",
    "eventTitle": "$EVENT_TITLE",
    "eventType": "$EVENT_TYPE",
    "evenAlertID": "$ALERT_ID",
    "eventAlertType": "$ALERT_TYPE",
    "eventHostName": "$HOSTNAME",
    "eventAlertMetric": "$ALERT_METRIC",
    "eventAlertTittle": "$ALERT_TITLE",
    "date": "$DATE",
    "org": {
        "id": "$ORG_ID",
        "name": "$ORG_NAME"
    "eventDetails": {
        "email": "$EMAIL",
        "eventMsg": "$EVENT_MSG",
        "eventTxtMsg": "$TEXT_ONLY_MSG",
        "evenDatePost": "$DATE_POSIX",
        "eventAggregKey": "$AGGREG_KEY",
        "eventAlertStatys": "$ALERT_STATUS",
        "eventUserName": "$USERNAME",
        "eventSnaoShot": "$SNAPSHOT",
        "eventLink": "$LINK",
        "eventTags": "$TAGS",
        "eventLastUpdatedPosix": "$LAST_UPDATED_POSIX",
        "eventAlertQuery": "$ALERT_QUERY",
        "eventAlertScope": "$ALERT_SCOPE",
        "eventAlertCycleKey": "$ALERT_CYCLE_KEY",
        "last_updated": "$LAST_UPDATED"

Step 2: Enable notifications

Notifications allow you to notify OpsRamp about an event.

  1. Click the Select Monitor icon and click Manage Monitors.
  2. Select the monitor that you want to enable the integration to OpsRamp and edit the settings. Configure the monitor details accordingly.
  3. In the Notify your team section, type @ to see the available list of Webhooks to trigger.
  4. Select the configured Webhook and specify notifications and restrictions for notification.
    Datadog Notifications
    Datadog Notifications

When a monitor alerts, a POST request is sent to the Webhook URL.