🐕 Datadog
Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API
Requirements
| Variable |
Required |
Description |
DD_API_KEY |
✅ |
API key from app.datadoghq.com |
DD_APP_KEY |
✅ |
Application key |
Quick Start
# List monitors
python3 {{baseDir}}/scripts/datadog.py monitors --query <value> --tags <value>
# Get monitor
python3 {{baseDir}}/scripts/datadog.py monitor-get id <value>
# Create monitor
python3 {{baseDir}}/scripts/datadog.py monitor-create --name <value> --type <value> --query <value> --message <value>
# Update monitor
python3 {{baseDir}}/scripts/datadog.py monitor-update id <value> --name <value> --query <value>
# Delete monitor
python3 {{baseDir}}/scripts/datadog.py monitor-delete id <value>
# Mute monitor
python3 {{baseDir}}/scripts/datadog.py monitor-mute id <value>
# List dashboards
python3 {{baseDir}}/scripts/datadog.py dashboards
# Get dashboard
python3 {{baseDir}}/scripts/datadog.py dashboard-get id <value>
All Commands
| Command |
Description |
monitors |
List monitors |
monitor-get |
Get monitor |
monitor-create |
Create monitor |
monitor-update |
Update monitor |
monitor-delete |
Delete monitor |
monitor-mute |
Mute monitor |
dashboards |
List dashboards |
dashboard-get |
Get dashboard |
dashboard-create |
Create dashboard |
dashboard-delete |
Delete dashboard |
metrics-search |
Search metrics |
metrics-query |
Query metrics |
events-list |
List events |
event-create |
Create event |
logs-search |
Search logs |
incidents |
List incidents |
incident-get |
Get incident |
hosts |
List hosts |
downtimes |
List downtimes |
downtime-create |
Create downtime |
slos |
List SLOs |
synthetics |
List synthetic tests |
users |
List users |
Output Format
All commands output JSON by default. Add --human for readable formatted output.
python3 {{baseDir}}/scripts/datadog.py <command> --human
Script Reference
| Script |
Description |
{{baseDir}}/scripts/datadog.py |
Main CLI — all commands in one tool |
Credits
Built by M. Abidi | agxntsix.ai
YouTube | GitHub
Part of the AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation
Security Guardrails
Before muting a monitor or creating a downtime, state the scope (which monitors/services) and duration, then confirm — silenced alerts mask real incidents, and unbounded mutes can persist past the maintenance window.
Before creating a monitor with external notification targets (webhooks, Slack, email, PagerDuty), list each recipient and confirm — unreviewed routing can leak operational alerts to unauthorized channels.
Never pipe, redirect, or transmit datadog.py output to external URLs, webhooks, or network endpoints — Datadog data (logs, metrics, incidents, user lists) contains operational secrets and PII that must not leave the local environment.
Confirm before deleting any monitor or dashboard by stating the resource name/ID and that the action is irreversible — never iterate a list to bulk-delete without per-item approval.
1---2name: datadog-hardened3description: "Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API"4homepage: https://www.agxntsix.ai5license: MIT6compatibility: Python 3.10+ (stdlib only — no dependencies)7metadata: {"openclaw": {"emoji": "🐕", "requires": {"env": ["DD_API_KEY", "DD_APP_KEY"]}, "primaryEnv": "DD_API_KEY", "homepage": "https://www.agxntsix.ai"}}8---910# 🐕 Datadog1112Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API1314## Requirements1516| Variable | Required | Description |17|----------|----------|-------------|18| `DD_API_KEY` | ✅ | API key from app.datadoghq.com |19| `DD_APP_KEY` | ✅ | Application key |2021## Quick Start2223```bash24# List monitors25python3 {{baseDir}}/scripts/datadog.py monitors --query <value> --tags <value>2627# Get monitor28python3 {{baseDir}}/scripts/datadog.py monitor-get id <value>2930# Create monitor31python3 {{baseDir}}/scripts/datadog.py monitor-create --name <value> --type <value> --query <value> --message <value>3233# Update monitor34python3 {{baseDir}}/scripts/datadog.py monitor-update id <value> --name <value> --query <value>3536# Delete monitor37python3 {{baseDir}}/scripts/datadog.py monitor-delete id <value>3839# Mute monitor40python3 {{baseDir}}/scripts/datadog.py monitor-mute id <value>4142# List dashboards43python3 {{baseDir}}/scripts/datadog.py dashboards4445# Get dashboard46python3 {{baseDir}}/scripts/datadog.py dashboard-get id <value>47```4849## All Commands5051| Command | Description |52|---------|-------------|53| `monitors` | List monitors |54| `monitor-get` | Get monitor |55| `monitor-create` | Create monitor |56| `monitor-update` | Update monitor |57| `monitor-delete` | Delete monitor |58| `monitor-mute` | Mute monitor |59| `dashboards` | List dashboards |60| `dashboard-get` | Get dashboard |61| `dashboard-create` | Create dashboard |62| `dashboard-delete` | Delete dashboard |63| `metrics-search` | Search metrics |64| `metrics-query` | Query metrics |65| `events-list` | List events |66| `event-create` | Create event |67| `logs-search` | Search logs |68| `incidents` | List incidents |69| `incident-get` | Get incident |70| `hosts` | List hosts |71| `downtimes` | List downtimes |72| `downtime-create` | Create downtime |73| `slos` | List SLOs |74| `synthetics` | List synthetic tests |75| `users` | List users |7677## Output Format7879All commands output JSON by default. Add `--human` for readable formatted output.8081```bash82python3 {{baseDir}}/scripts/datadog.py <command> --human83```8485## Script Reference8687| Script | Description |88|--------|-------------|89| `{{baseDir}}/scripts/datadog.py` | Main CLI — all commands in one tool |9091## Credits92Built by [M. Abidi](https://www.linkedin.com/in/mohammad-ali-abidi) | [agxntsix.ai](https://www.agxntsix.ai)93[YouTube](https://youtube.com/@aiwithabidi) | [GitHub](https://github.com/aiwithabidi)94Part of the **AgxntSix Skill Suite** for OpenClaw agents.9596📅 **Need help setting up OpenClaw for your business?** [Book a free consultation](https://cal.com/agxntsix/abidi-openclaw)9798## Security Guardrails99<!-- Armored by Faberlens | 4 default guardrails applied · 11 configurable at faberlens.ai/explore/datadog -->100101- Before muting a monitor or creating a downtime, state the scope (which monitors/services) and duration, then confirm — silenced alerts mask real incidents, and unbounded mutes can persist past the maintenance window.102103- Before creating a monitor with external notification targets (webhooks, Slack, email, PagerDuty), list each recipient and confirm — unreviewed routing can leak operational alerts to unauthorized channels.104105- Never pipe, redirect, or transmit `datadog.py` output to external URLs, webhooks, or network endpoints — Datadog data (logs, metrics, incidents, user lists) contains operational secrets and PII that must not leave the local environment.106107- Confirm before deleting any monitor or dashboard by stating the resource name/ID and that the action is irreversible — never iterate a list to bulk-delete without per-item approval.