Datadog Integration

Pro v1.0.0

Query and manage Datadog monitors, dashboards, metrics, and infrastructure

Requires Claude Code CLI

This skill integrates with Datadog through Claude Code. Install Claude Code and add this skill to use it.

Available Actions

Validate Credentials

Verify that API keys are configured correctly and have proper access

Returns

object Validation status and message

Try saying...

  • "Validate my Datadog credentials"
  • "Check if my Datadog API keys work"
  • "Test Datadog connection"

List Monitors

Retrieve all monitors configured in your Datadog account

Returns

array Array of monitor objects with configuration details

Try saying...

  • "Show me all my Datadog monitors"
  • "List my alert configurations"
  • "What monitors are configured?"

Get Monitor Details

Retrieve detailed information about a specific monitor by ID

Parameters

Name Type Required Description
monitor_id integer Required The ID of the monitor to retrieve

Returns

object Monitor configuration and current state

Try saying...

  • "Get details for monitor ID 12345"
  • "Show me monitor 12345"
  • "What's the configuration of monitor 12345?"

Search Monitors

Search for monitors by name or message content

Parameters

Name Type Required Description
query string Required Search term to match against monitor names and messages

Returns

array Filtered array of monitors matching the search query

Try saying...

  • "Find monitors containing 'CPU'"
  • "Search for database alerts"
  • "Show monitors related to memory"

List Dashboards

Retrieve all dashboards in your Datadog account

Returns

object Object containing array of dashboard summaries

Try saying...

  • "Show me all my Datadog dashboards"
  • "List my dashboards"
  • "What dashboards do I have?"

Get Dashboard Details

Retrieve the full configuration of a specific dashboard

Parameters

Name Type Required Description
dashboard_id string Required The ID of the dashboard to retrieve

Returns

object Complete dashboard configuration including all widgets

Try saying...

  • "Get dashboard abc-123-def"
  • "Show me dashboard abc-123-def"
  • "What's in dashboard abc-123-def?"

Query Metrics

Query time-series metrics data (defaults to last hour)

Parameters

Name Type Required Description
query string Required Datadog metric query string

Returns

object Time-series data points for the queried metric

Try saying...

  • "Query system.cpu.idle metric"
  • "Get memory usage metrics"
  • "Show me avg:system.mem.used"

Post Event

Create a custom event in Datadog

Parameters

Name Type Required Description
title string Required Event title
text string Required Event description/body
tags string Optional Comma-separated list of tags

Returns

object Created event object with ID

Try saying...

  • "Post an event about deployment completion"
  • "Create a Datadog event for the release"
  • "Log a custom event"

List Hosts

List all infrastructure hosts reporting to Datadog

Returns

object Object containing array of hosts with metadata

Try saying...

  • "Show me all hosts in my infrastructure"
  • "List my Datadog hosts"
  • "What hosts are reporting to Datadog?"

Getting Started

API Key Easy Setup
  1. 1 Log in to Datadog account
  2. 2 Go to Organization Settings > API Keys: https://app.datadoghq.com/organization-settings/api-keys
  3. 3 Create or copy an existing API Key
  4. 4 Go to Organization Settings > Application Keys: https://app.datadoghq.com/organization-settings/application-keys
  5. 5 Create a new Application Key
  6. 6 Add to shell config: echo 'export DD_API_KEY="YOUR_KEY"' >> ~/.zshrc
  7. 7 Add to shell config: echo 'export DD_APP_KEY="YOUR_KEY"' >> ~/.zshrc
  8. 8 For EU customers, also set: echo 'export DD_SITE="datadoghq.eu"' >> ~/.zshrc
  9. 9 Restart terminal or run: source ~/.zshrc

Verify Setup

python scripts/client.py validate

Success: Credentials are valid

Security & Access

Access Scope

Full access to Datadog account including monitors, dashboards, metrics, logs, infrastructure, and events. Application Keys can be scoped to specific permissions.

  • API and Application keys provide full access to your Datadog account data
  • Never commit keys to version control or share them publicly
  • Consider creating a dedicated Application Key with minimal required scopes
  • Keys can be scoped to limit access - use Organization Settings to configure permissions
  • Regularly rotate keys to maintain security

Limitations

  • Historical metric queries are limited to the data retention period of your Datadog plan
  • Some endpoints require specific permissions on the Application Key
  • Large result sets may be paginated

Get This Skill

Requires Pro subscription ($9/month)

Quick Reference

Type
PYTHON_SDK
Auth
API Key
Setup
Easy Setup
Tools Required
Bash
Python Dependencies
datadog>=0.49.0

Have Feedback?

Help us improve this skill by sharing your ideas and suggestions.

Request Improvements