Datadog monitors

Send Datadog monitor alerts to Rocketgraph through the Webhooks integration, and get one ticket per storm.

Datadog posts to a webhook URL that belongs to your organisation whenever a monitor triggers or recovers. Rocketgraph groups alerts that belong together into one storm, remembers what fired before, and files one ticket per storm in your connected trackers.

This is separate from the Datadog observability connector. You can use either, or both.

Connect

  1. Open Connect and click Datadog monitors under Alert sources.
  2. Copy the Webhook URL.
  3. In Datadog, open Integrations → Webhooks → + New. Name it rocketgraph and paste the URL. The Open Datadog webhooks button opens this page on app.datadoghq.com. If you sign in at another site, open the same page there.
  4. Tick Custom payload and paste this:

json { "alert_id": "$ALERT_ID", "title": "$EVENT_TITLE", "transition": "$ALERT_TRANSITION", "priority": "$PRIORITY", "scope": "$ALERT_SCOPE", "tags": "$TAGS", "body": "$EVENT_MSG", "link": "$LINK" }

  1. Add @webhook-rocketgraph to the message of each monitor you want ticketed. It is sent on trigger and on recovery.

The panel says Waiting for the first alert until one arrives, then Receiving with the time of the last one.

What Rocketgraph reads

Nothing. Datadog sends to Rocketgraph. From each payload it uses:

  • The title, with Datadog's [Triggered], [Recovered], [Warn], [Re-Triggered] or [No Data] prefix removed.
  • The service, from the scope first and then the tags, using the first of service, service_name, service.name, app, app_kubernetes_io_name, application, job, container.
  • transition: Recovered or OK marks the alert resolved.
  • priority, the message body and the link.
  • alert_id and scope, to recognise a repeat of the same alert.

Known limits

  • Monitors without @webhook-rocketgraph in their message are not sent.
  • The body must be JSON and under 1 MB.
  • Anyone with the webhook URL can send alerts to your organisation. Keep it private.

Disconnect

Remove @webhook-rocketgraph from your monitors, or delete the rocketgraph webhook in Datadog.