datadog Plugin

January 19, 2026 ยท View on GitHub

A Claude Code skill for debugging and triaging with Datadog logs, metrics, and dashboards.

What it does

This skill enables Claude to use the datadog CLI for:

  • Log search - Query and filter logs with Datadog syntax
  • Real-time tailing - Stream logs as they arrive
  • Trace analysis - Follow distributed requests across services
  • Pattern detection - Group similar log messages automatically
  • Metrics query - Query timeseries metrics with PromQL-style syntax
  • Dashboard management - List, create, update, and delete dashboards

Prerequisites

  1. Install the CLI from leonardocouy/datadog-cli

  2. Set environment variables:

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

Installation

/plugin marketplace add leonardocouy/cc-datadog
/plugin install datadog@cc-datadog

Usage

Once installed, Claude will automatically use datadog commands when you ask questions like:

  • "Search for error logs in the last hour"
  • "Tail logs from the payments service"
  • "Trace this request ID across services"
  • "Show me error patterns from today"
  • "What dashboards do we have?"
  • "Please explain this Datadog dashboard https://app.datadoghq.com/dashboard/xxx-xxx-xxx"
  • "Create a new Datadog dashboard for the metrics cpu.usage, memory.used"

Commands Reference

CommandPurpose
datadog logs searchSearch and filter logs
datadog logs tailStream logs in real-time
datadog logs traceFind logs for a trace ID
datadog logs patternsGroup similar log messages
datadog logs compareCompare current vs previous period
datadog logs contextGet logs around a timestamp
datadog logs aggAggregate logs by facet
datadog logs multiRun multiple queries in parallel
datadog metrics queryQuery timeseries metrics
datadog dashboards listList dashboards
datadog dashboards getGet dashboard definition
datadog dashboards createCreate a dashboard
datadog dashboards updateUpdate a dashboard
datadog dashboards deleteDelete a dashboard
datadog errorsQuick error summary
datadog servicesList services with log activity

See the datadog-cli repository for complete command documentation.

License

MIT