이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Join the Preview!
AI Agents Console is in Preview. Complete the form to request access.
Request AccessDatadog’s AI Agents Console provides monitoring for agentic tools like Claude Code, enabling you to collect logs and metrics from developer environments and view them in real time within Datadog.
Set up AI Agents Console for Claude Code
The following procedure configures Claude Code to send telemetry directly to Datadog with the OpenTelemetry protocol (OTLP). To send telemetry through the Datadog Agent instead, see Forward data through the Datadog Agent.
Ensure that your Logs configuration includes a catch-all index, or an index that covers service:claude-code.
Generate a Datadog API key.
Set the following environment variables in your Claude Code settings file (for example, ~/.claude/settings.json):
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_LOGS_PROTOCOL": "http/protobuf",
"OTEL_EXPORTER_OTLP_LOGS_ENDPOINT": "/v1/logs",
"OTEL_EXPORTER_OTLP_HEADERS": "dd-api-key=<DATADOG_API_KEY>",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_METRICS_PROTOCOL": "http/protobuf",
"OTEL_EXPORTER_OTLP_METRICS_ENDPOINT": ""
}
}
Replace <DATADOG_API_KEY> with your Datadog API key.
To set up AI Agents Console for Claude Code across your organization, your IT team can use a Mobile Device Management (MDM) system to distribute the Claude Code settings file across all managed devices.
Restart Claude Code.
Ensure that your Logs configuration includes a catch-all index, or an index that covers service:claude-code.
Install the Datadog Agent.
Configure your Datadog Agent to enable the OpenTelemetry Collector:
otlp_config:
receiver:
protocols:
grpc:
endpoint: 0.0.0.0:4317
logs:
enabled: true
otelCollector:
enabled: true
Set the following environment variables in your Claude Code settings file (for example, ~/.claude/settings.json):
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://127.0.0.1:4317",
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
"OTEL_METRIC_EXPORT_INTERVAL": "10000"
}
}
To set up AI Agents Console for Claude Code across your organization, your IT team can use a Mobile Device Management (MDM) system to distribute the Claude Code settings file across all managed devices.
Restart Claude Code.
Verification
After you restart Claude Code, navigate to the AI Agents Console in Datadog and click on the Claude Code tile. Metrics (usage, cost, latency, errors) should appear within a few minutes.
Further reading