datadog

Query and analyze Datadog logs, metrics, traces, and monitors via the Datadog API.

134|67|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/OpenHands/skills --skill datadog-openhands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog
Source: https://github.com/OpenHands/skills/tree/main/skills/datadog
Command: npx skills add https://github.com/OpenHands/skills --skill datadog-openhands

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you rapidly query and analyze Datadog logs, metrics, APM traces, and monitors via the Datadog API to diagnose issues and understand system behavior.

Core Features & Use Cases

  • API-driven data access: Retrieve logs, metrics, traces, and monitors from Datadog to inform debugging and performance tuning.
  • Preflight validation: Ensure required environment variables (DD_API_KEY, DD_APP_KEY, DD_SITE) are set before making requests.
  • Usage Scenarios: Investigate a spike in error logs, compare metric trends across services, or inspect active monitors and their thresholds.

Quick Start

Use the datadog skill to query logs, metrics, and traces after providing DD_API_KEY, DD_APP_KEY, and DD_SITE.

Frequently Asked Questions about datadog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Datadog logs to investigate a spike in production errors?

Query Datadog logs via the Datadog API by setting the DD_API_KEY, DD_APP_KEY, and DD_SITE environment variables to authenticate and retrieve log entries for debugging production issues and error spikes.

What environment variables do I need to access Datadog metrics and traces?

Accessing Datadog metrics and traces requires setting DD_API_KEY, DD_APP_KEY, and DD_SITE environment variables. The Skill validates these credentials before querying APM data via the Datadog API.

Can I retrieve Datadog APM traces and monitors through the API?

Yes, you can retrieve Datadog APM traces and monitors through the API. The Skill supports querying across logs, metrics, traces, and monitors to inspect active thresholds and diagnose system performance issues.

How do I compare metric trends across services in Datadog?

Compare metric trends across services by querying Datadog metrics via the API. The Skill retrieves metric data to inform performance tuning and analyze system behavior across different services in your infrastructure.

Does this Datadog API skill work without installing the Datadog agent?

Yes, this Datadog API skill works without the Datadog agent. It queries existing data via the Datadog API using DD_API_KEY and DD_APP_KEY to retrieve logs, metrics, traces, and monitors already collected by your infrastructure.

Why are my Datadog API queries failing to return monitor data?

Datadog API queries fail when DD_API_KEY, DD_APP_KEY, or DD_SITE environment variables are missing or invalid. The Skill includes preflight validation to ensure these authentication headers are properly set before retrieving monitor data.