> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/3.0/ai-sre-for-administrators/set-up-alert-management/alerts/integrations/monitoring/datadog.md).

# Datadog Integration

Configure Datadog integration to receive monitoring and APM alerts in Harness AI SRE.

### Overview <a href="#overview" id="overview"></a>

Datadog provides:

* **Alert ingestion:** Automated alert forwarding from monitors
* **Metric correlation:** Link alerts to related metrics
* **Service mapping:** Automatic service discovery
* **Environment detection:** Production vs staging classification
* **APM integration:** Application performance monitoring

***

### Use this template <a href="#use-this-template" id="use-this-template"></a>

#### In Harness AI SRE <a href="#in-harness-ai-sre" id="in-harness-ai-sre"></a>

Create the webhook integration in Harness AI SRE:

1. Navigate to **Integrations** in the main menu
2. Click **New Integration**
3. Select **Datadog** from the template options
4. Enter a name and generate an ID
5. Copy the generated webhook URL

The template automatically configures field mapping to match Datadog alert fields to Harness alert properties.

#### In Datadog <a href="#in-datadog" id="in-datadog"></a>

Configure Datadog monitors to send webhooks to your Harness webhook URL. Go to the [Datadog webhook setup guide](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/integration-guides/monitoring/datadog.md) to complete the step-by-step instructions.

***

### Example alert payload <a href="#example-alert-payload" id="example-alert-payload"></a>

```json
{
  "body": "Monitor Alert: System CPU > 95%",
  "last_updated": "1614728748000",
  "event_type": "monitor_alert",
  "title": "High CPU Usage",
  "date": "1614728748",
  "org": {
    "id": "abc123",
    "name": "MyOrg"
  },
  "id": "event-123",
  "alert_id": "12345",
  "alert_metric": "system.cpu.user",
  "alert_priority": "P1",
  "alert_transition": "Triggered",
  "alert_status": "Alert",
  "alert_title": "High CPU Usage",
  "alert_type": "metric_alert",
  "host_name": "web-server-01",
  "priority": "normal",
  "tags": ["env:production", "service:web"],
  "alert_scope": ["host:web-server-01"]
}
```

***

### Configure Datadog to send webhooks <a href="#configure-datadog-to-send-webhooks" id="configure-datadog-to-send-webhooks"></a>

After creating a webhook from this template in Harness, configure Datadog to send alerts to your webhook URL.

Go to the [Datadog webhook setup guide](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/integration-guides/monitoring/datadog.md) to complete detailed step-by-step instructions, including:

* Create webhook integrations in Datadog
* Configure monitor notifications
* Customize payload fields
* Test the integration

***

### Next steps <a href="#next-steps" id="next-steps"></a>

* [Route alerts](/ai-sre/ai-sre-for-administrators/set-up-alert-management/alert-rules/overview.md): Route Datadog alerts to the right destinations.
* [Use CEL in webhooks](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/use-cel-webhooks.md): Add custom filtering logic.
* [Webhook templates overview](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/templates/overview.md): View other templates.
