datadog
/datadog
Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging production issues, monitoring application performance, or investigating alerts.
- Author
- OpenHands ↗
- Repository
- extensions ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 10
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging production issues, monitoring application performance, or investigating alerts.
Original author description
Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging production issues, monitoring application performance, or investigating alerts.
How it works
- Authentication Headers
- Query Logs
- Query Metrics
- Query APM Traces
- List Monitors
- Documentation
SKILL.md preview
---
name: datadog
description: Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging production issues, monitoring application performance, or investigating alerts.
triggers:
- datadog
---
# Datadog
Windows PowerShell equivalents for the Datadog `curl`, environment-variable, timestamp, and JSON formatting snippets are in `references/windows.md`.
<IMPORTANT>
Before performing any Datadog operations, first check if the required environment variables are set:
```bash
[ -n "$DD_API_KEY" ] && echo "DD_API_KEY is set" || echo "DD_API_KEY is NOT set"
[ -n "$DD_APP_KEY" ] && echo "DD_APP_KEY is set" || echo "DD_APP_KEY is NOT set"
[ -n "$DD_SITE" ] && echo "DD_SITE is set" || echo "DD_SITE is NOT set"
```
If any of these variables are missing, ask the user to provide them before proceeding:
- **DD_API_KEY**: Datadog API key
- **DD_APP_KEY**: Datadog Application key
- **DD_SITE**: Datadog site (e.g., `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`)
</IMPORTANT>
## Authentication Headers
```bash
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-H "Content-Type: application/json"
```
## Query Logs
```bash
curl -s -X POST "https://api.${DD_SITE}/api/v2/logs/events/search" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-H "Content-Type: application/json" \
-d '{
"filter": {
"query": "service:my-service status:error",
"from": "now-1h",
"to": "now"
},
"sort": "-timestamp",
"page": {"limit": 50}
}' | jq .
```
## Query Metrics
```bash
curl -s -G "https://api.${DD_SITE}/api/v1/query" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
--data-urlencode "query=avg:system.cpu.user{*}" \
--data-urlencode "from=$(date -d '1 hour ago' +%s)" \
--data-urlencode "to=$(date +%s)" | jq .
```
## Query APM Traces
```bash
curl -s -X POST "https://api.${DD_SITE}/api/v2/spans/events/search" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-H "Content-Type: application/json" \
-d '{
"filter": {
"query": "service:my-service",
"from": "now-1h",
"to": "now"
},
"sort": "-timestamp",
"page": {"limit": 25}
}' | jq .
```
## List Monitors
```bash
curl -s -G "https://api.${DD_SITE}/api/v1/monitor" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" | jq .
```
## Documentation
- [Logs API](https://docs.datadoghq.com/api/latest/logs/)
- [Metrics API](https://docs.datadoghq.com/api/latest/metrics/)
- [APM/Tracing API](https://docs.datadoghq.com/api/latest/tracing/)
- [Monitors API](https://docs.datadoghq.com/api/latest/monitors/)
- [Events API](https://docs.datadoghq.com/api/latest/events/)
- [Dashboards API](https://docs.datadoghq.com/api/latest/dashboards/)
Files in this package (6)
- .claude-plugin 1 KB
- .codex-plugin 1 KB
- README.md 3 KB
- SKILL.md 3 KB
- .plugin/plugin.json 1 KB
- references/windows.md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · OpenHands/extensions | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| yassimba/loom | 100 | Apache-2.0 |
| getsentry/junior | 100 | Apache-2.0 |
| jjmartres/ai-coding-agents | 100 | MIT |
| greedychipmunk/agent-skills | 100 | MIT |
| HelixDevelopment/agent | 100 | MIT |
| G1Joshi/Agent-Skills | 100 | MIT |
| letta-ai/skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version 19e781670d0b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100mcp-server-datadog
Use this skill when installing, configuring, and executing tools with the Datadog APM traces, system metrics, and incident monitors Datadog MCP server. - 84use-datadog
Use the Datadog CLI (pup) for observability tasks. TRIGGER when the user mentions Datadog, monitors, alerts, logs, metrics, APM, traces, incidents, SLOs, dashboards, or any Datadog-related observability work. This skill ensures the agent uses pup instead of raw API calls or the Datadog web UI. - 100datadog-axi
Read Datadog through the datadog-axi CLI - monitors, logs, metrics, APM traces, incidents, CI pipeline runs and failing/flaky tests, dashboards, events, hosts, SLOs, downtimes, synthetics, notebooks and allowlisted read-only API calls. Use whenever a task needs Datadog data:… - 100datadog-api
Query and manage Datadog monitoring data — logs, metrics, monitors, dashboards, events, SLOs, traces, and incidents. Use this whenever the user wants to search logs, look at a metric, check which monitors are alerting, investigate a trace, pull SLO status, mute an alert, or ask… - 100datadog-cli
Datadog CLI for searching logs, querying metrics, tracing requests, and managing dashboards. Use this when debugging production issues or working with Datadog observability. - 100datadog-cli
Datadog CLI for searching logs, querying metrics, and tracing requests. Use when user mentions "Datadog", "DD logs", "production debugging", "check metrics", "trace request", or needs to investigate production incidents. Triggers on "datadog", "DD", "로그 검색", "메트릭 조회", "장애 조사".