capabilities.work

Create a Monitor

A 3-step recipe with Datadog. We can help you get access.

Recipe · 3 steps

Create a Monitor

with Datadog · Observability Management
Works with AI assistants

Validate, create, and read back a Datadog monitor.

  1. Validate the monitor configuration without creating it to surface any query or option errors before persisting the monitor.
  2. Create the monitor with the validated configuration. Datadog returns the full monitor including its newly assigned numeric ID.
  3. Read the created monitor back by its ID to confirm the query, message, and thresholds were stored as intended.
What you'll need to have ready
  • type: The monitor type (e.g. metric alert, query alert, service check).
  • query: The monitor query expression (e.g. avg:system.cpu.user{*} > 95).
  • name: A descriptive name for the monitor.
  • message: The notification message body sent when the monitor triggers.
  • tags: List of tags to associate with the monitor.
  • priority: The monitor priority level from 1 (highest) to 5 (lowest).
  • critical: The threshold value that triggers a CRITICAL alert.
  • warning: The threshold value that triggers a WARNING alert.
For your developer

Arazzo workflow datadog:create-monitor, 3 operations: validateMonitor → createMonitor → getMonitor. Specs on APIs.io.