Datadog

Datadog

Query Datadog (metrics, logs, monitors, events, incidents, dashboards) from any AI agent. 8 tools, dual-key auth.

7 天免费 · 无需信用卡 · EU 托管

问 Datadog 任何事

通过 AnythingMCP 对 Datadog 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Datadog
Datadog · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Datadog。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Datadog

Datadog 指南

面向主流 AI 客户端的逐步设置。

配置 Datadog

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector wraps the Datadog REST API v1/v2 (api.datadoghq.com).

Setup:

  1. In your Datadog org → Personal Settings → Organization Settings → API Keys → create or copy an API key. Set DATADOG_API_KEY.
  2. Organization Settings → Application Keys → create an application key with at least monitors_read, logs_read_data, dashboards_read, events_read scopes. Set DATADOG_APP_KEY.
  3. Site matters: Datadog has multiple regions: US1 (datadoghq.com — default), US3 (us3.datadoghq.com), US5 (us5.datadoghq.com), EU1 (datadoghq.eu), AP1 (ap1.datadoghq.com), US1-FED (ddog-gov.com). If your org is on a non-US1 site, change baseUrl accordingly. Wrong site = 403 with Forbidden and no useful body.

Authentication: Datadog requires BOTH headers on every request:

  • DD-API-KEY: ${DATADOG_API_KEY} — identifies the org
  • DD-APPLICATION-KEY: ${DATADOG_APP_KEY} — identifies the user/permissions

Metrics query language: q uses the Datadog metric query syntax — avg:system.cpu.user{*} or sum:trace.web.request.hits{env:prod} by {service}. See https://docs.datadoghq.com/dashboards/functions/.

Time windows: from / to are UNIX epoch seconds (NOT milliseconds, NOT ISO strings). Default windows: last 1h for metrics, last 15min for logs.

Logs search: uses the same query syntax as the Logs Explorer UI — service:api status:error @http.status_code:>=500. Returns data[] with attributes.message, attributes.tags, etc.

Rate limits: most read endpoints are 300 req/h per org. Monitors API allows 100/min. 429 responses include X-RateLimit-Reset (epoch seconds).

Out of scope here: agent install / install-script generation, SLO CRUD beyond list, RUM/synthetics CRUD.

你的 AI 距离 Datadog 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。