create-monitor
Create a Datadog monitor for metric alerts, log alerts, query alerts, or service checks by specifying name, type, query, message, tags, priority, and advanced options.
Instructions
Create a new Datadog monitor (metric alert, log alert, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Monitor name | |
| type | Yes | Monitor type (e.g. metric alert, log alert, query alert, service check) | |
| query | Yes | Monitor query. Example: avg(last_5m):avg:system.cpu.user{env:prod} > 90 | |
| message | No | Notification message (supports @mentions) | |
| tags | No | Tags for the monitor | |
| priority | No | Priority 1-5 (1=highest) | |
| options | No | Advanced monitor options (thresholds, etc.) |