Datadog
| Category | Monitoring |
| CLI | dog (dogshell) |
| Auth | API key |
| Config | DATADOG_API_KEY (required), DATADOG_APP_KEY (required), DATADOG_HOST (optional) |
What it does
Section titled “What it does”Wraps the Datadog dog CLI (dogshell) to give CodeBuddy access to your Datadog observability data. The agent can query metrics, search logs, inspect APM traces, and check monitor status.
Prerequisites
Section titled “Prerequisites”Install dogshell:
pip install datadogConfigure with your keys:
export DATADOG_API_KEY="your-api-key"export DATADOG_APP_KEY="your-app-key"Optionally set the Datadog site (default: datadoghq.com):
export DATADOG_HOST="https://api.datadoghq.eu" # EU siteVerify:
dog metric listCapabilities
Section titled “Capabilities”- Metrics — query, post, list available metrics
- Logs — search, filter by service/level/time range
- APM traces — inspect traces, view spans, latency analysis
- Monitors — list, check status, mute/unmute
- Dashboards — list, pull widget data
- Events — post, search, stream
Example prompts
Section titled “Example prompts”- “Show the p99 latency for
/api/usersover the last 24 hours” - “Find all error logs from the payment service in the last hour”
- “Which monitors are currently in alert status?”
- “Post an event to Datadog noting today’s deployment”