datadog-cli

Solid

Datadog CLI for searching logs, querying metrics, tracing requests, and managing dashboards. Use this when debugging production issues or working with Datadog observability.

Data & Documents 1,931 stars 178 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Datadog CLI A CLI tool for AI agents to debug and triage using Datadog logs and metrics. ## Required Reading **You MUST read the relevant reference docs before using any command:** - [Log Commands](references/logs-commands.md) - [Metrics](references/metrics.md) - [Query Syntax](references/query-syntax.md) - [Workflows](references/workflows.md) - [Dashboards](references/dashboards.md) ## Setup ### Environment Variables (Required) ```bash export DD_API_KEY="your-api-key" export DD_APP_KEY="your-app-key" ``` Get keys from: https://app.datadoghq.com/organization-settings/api-keys ### Running the CLI ```bash npx @leoflores/datadog-cli <command> ``` For non-US Datadog sites, use `--site` flag: ```bash npx @leoflores/datadog-cli logs search --query "*" --site datadoghq.eu ``` ## Commands Overview | Command | Description | |---------|-------------| | `logs search` | Search logs with filters | | `logs tail` | Stream logs in real-time | | `logs trace` | Find logs for a distributed trace | | `logs context` | Get logs before/after a timestamp | | `logs patterns` | Group similar log messages | | `logs compare` | Compare log counts between periods | | `logs multi` | Run multiple queries in parallel | | `logs agg` | Aggregate logs by facet | | `metrics query` | Query timeseries metrics | | `errors` | Quick error summary by service/type | | `services` | List services with log activity | | `dashboards` | Manage dashboards (CRUD) | | `dashboard-lists` | Manage dashboard lists | ...

Details

Author
softaworks
Repository
softaworks/agent-toolkit
Created
4 months ago
Last Updated
2 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category