datadog

Query the Datadog API for metrics, logs, events, monitors, and dashboards.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pepegar/nix-home --skill datadog-pepegar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog
Source: https://github.com/pepegar/nix-home/tree/main/skills/datadog
Command: npx skills add https://github.com/pepegar/nix-home --skill datadog-pepegar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to programmatically query the Datadog API to retrieve metrics, logs, events, monitors, dashboards, and more, enabling quick access to observability data.

Core Features & Use Cases

  • Real-time Monitoring: Get current system metrics, active alerts, and incident status.
  • Log Analysis: Search and analyze logs to troubleshoot issues.
  • Infrastructure Health: Check host status, SLOs, and synthetic test results.
  • Use Case: When a user asks "Is production alerting?", this Skill can query Datadog monitors for active alerts and provide a concise summary.

Quick Start

Use the datadog skill to list all monitors that are currently in an alert state.

Frequently Asked Questions about datadog

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

FAQPage Schema
How do I query Datadog for active production alerts?

You can query Datadog monitors to retrieve active alerts by filtering for their current alert state. This allows you to programmatically check production alerting status and summarize ongoing incidents.

Can I search and analyze Datadog logs programmatically?

Yes, you can search and analyze Datadog logs programmatically by querying the API with detailed filtering and time-range selection. This retrieves specific log entries to help troubleshoot system issues.

What Datadog API keys do I need to retrieve metrics and traces?

You need both Datadog API and Application keys configured as environment variables for authentication. These keys are required to authorize retrieving metrics, traces, logs, and SLOs from the API.

Does this approach support retrieving infrastructure health data like SLOs and synthetic tests?

Yes, querying the Datadog API supports retrieving infrastructure health data. You can check host status, SLOs, and synthetic test results alongside metrics, events, and dashboards.

What is the best way to filter observability data by specific time ranges?

The best way to filter observability data is by using time-range selection parameters during your API query. This enables precise data retrieval for metrics, logs, and traces within the targeted timeframe.