Unverified50% confidenceFactExact time
Claude Code has the OTel SDK built in, so the data format it outputs is not proprietary, and any OTLP-compatible backend (such as Prometheus, Datadog, Honeycomb, etc.) can receive it directly.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Claude Code 已内置 OpenTelemetry:Grafana 追踪成本与模型
Related Entities
Related Claims
UnverifiedBy default Claude Code does not collect prompt text, Bash commands and MCP tool parameters, raw file contents or code snippets; these must be explicitly enabled via OTEL_LOG_USER_PROMPTS=1 and OTEL_LOG_TOOL_DETAILS=1 respectively.59% similarUnverifiedClaude Code has a built-in OpenTelemetry exporter; setting the environment variable CLAUDE_CODE_ENABLE_TELEMETRY=1 exports the cost of API requests, token counts, and labels such as model, user and session.59% similarUnverifiedBingoCode是一个采用MIT协议的开源harness agent,定位为Claude Code的稳定开源替代57% similarUnverifiedThe Claude API directly exports OTel traces, making model calls a node in the distributed chain.57% similarUnverifiedClaude Code不是IDE,而是采用CLI加API调用的轻量架构,通过Language Server Protocol与各类IDE通信56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1064452API
curl https://kongchang.com/api/v1/knowledge/claims/1064452MCP
get_claim(id=1064452)