Datadog Integration Webhook Template
Last updated on
Configure Datadog integration to receive monitoring and APM alerts in Harness AI SRE.
Overview
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
In Harness AI SRE
Create the webhook integration in Harness AI SRE:
- Navigate to Integrations in the main menu
- Click New Integration
- Select Datadog from the template options
- Enter a name and generate an ID
- Copy the generated webhook URL
The template automatically configures field mapping to match Datadog alert fields to Harness alert properties.
In Datadog
Configure Datadog monitors to send webhooks to your Harness webhook URL. Go to the Datadog webhook setup guide to complete the step-by-step instructions.
Example alert payload
{
"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
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 to complete detailed step-by-step instructions, including:
- Create webhook integrations in Datadog
- Configure monitor notifications
- Customize payload fields
- Test the integration
Next steps
- Route alerts: Route Datadog alerts to the right destinations.
- Use CEL in webhooks: Add custom filtering logic.
- Webhook templates overview: View other templates.