Unverified50% confidenceFactExact time
By 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.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Claude Code 已内置 OpenTelemetry:Grafana 追踪成本与模型
Related Entities
Related Claims
UnverifiedThe main metrics exported by Claude Code include claude_code.cost.usage (USD cost), claude_code.token.usage (split by input/output/cacheRead/cacheCreation), claude_code.session.count, claude_code.lines_of_code.count, claude_code.commit.count, claude_code.pull_request.count, claude_code.active_time.total and claude_code.code_edit_tool.decision.69% similarUnverifiedClaude Code is equipped with only a minimal toolset — editing files, running Bash commands, and searching files.68% similarUnverifiedThe way tools like Claude Code and Cursor typically support skill files is through Markdown or YAML rule files in the project root directory, such as Cursor's .cursorrules and Claude Code's CLAUDE.md.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1064451API
curl https://kongchang.com/api/v1/knowledge/claims/1064451MCP
get_claim(id=1064451)