Skip to main content

Overview

Datadog is a cloud-scale monitoring and security platform. Easyalert integrates with Datadog via webhooks, receiving alerts from monitors and creating incidents automatically.

Requirements

  • Datadog account
  • Easyalert account and active tenant
  • Access to Integrations → Webhooks in Datadog

Setup Instructions

1

Create Integration in Easyalert

  1. Go to Integrations page from left menu
  2. Click Add Integration button
  3. Select Datadog as Source Type
  4. Enter a name (e.g., Datadog Production)
  5. Click Create to save
  6. Copy the generated Webhook URL
Example: https://api.easyalert.io/api/v1/webhooks/ingest/wh_abc123...
2

Create Webhook in Datadog

Go to Integrations → Webhooks → New
3

Configure Payload Template

Use this recommended payload:
NOTE: Datadog uses $VARIABLE syntax (uppercase).
4

Add Webhook to Monitors

  1. Edit your monitor
  2. In Notify your team, add @webhook-easyalert
  3. Save the monitor
5

Test the Integration

Trigger a test alert from a monitor

Datadog Variables

Datadog provides these variables for webhooks:

Field Mapping


Severity Mapping

Alert Type Mapping

Priority Mapping

If you use Datadog priorities:

Status Handling


Tags Parsing

Datadog tags in key:value format are automatically parsed:
Becomes:
  • tags.env = "production"
  • tags.service = "web"
  • tags.team = "backend"
These can be used in escalation routing rules.

Custom Field → Tag Mapping

Datadog Tags ($TAGS)

$TAGS variable brings host/monitor tags automatically:

Custom Fields

All custom fields added to the payload template become tags:
In Easyalert:

Routing Examples

Escalation Routing:
Notification Rules:

Monitor Configuration Tips

Adding Webhook to Monitors

In monitor notification settings:

Including Specific Tags

Use template variables in your monitor message:

Test


Troubleshooting

  1. Verify webhook URL in Datadog integrations 2. Check that @webhook-easyalert is in monitor notification 3. Test the webhook from Datadog UI 4. Review Datadog webhook delivery logs
  1. Verify field is added to webhook payload template 2. Check field name spelling 3. View webhook samples in Easyalert
  1. Ensure $VARIABLE is uppercase 2. Check if the variable is available for the monitor type 3. Some variables may be empty for certain alert types
  1. Verify monitor sends recovery notifications 2. Check alertTransition includes “Recovered” 3. Ensure alertId is consistent between alert and recovery
  1. Include $TAGS in webhook payload 2. Verify tags are set on the monitor or metric 3. Check tag format (should be key:value)

Best Practices

Set P1-P5 priority on monitors to ensure proper severity mapping in Easyalert.
Use the recommended payload template to capture all useful information.
Add tags like env, team, and service for better routing and filtering.
Ensure monitors send recovery notifications to automatically resolve incidents.
Set aggregation keys to help with incident deduplication.
Include customer, team, environment in payload for escalation routing.