Claude Code Otlp Collector — Development skill for Claude Code
OTLP bridge that forwards Claude Code telemetry to Arize.
How to install Claude Code Otlp Collector
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Arize-ai/claude-code-otlp-collector and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Otlp Collector does
OTLP bridge that forwards Claude Code telemetry to Arize.
Alternatives in Development
- MCP Proxy — A bridge between Streamable HTTP and stdio MCP transports 2.4k ★
- 13 Bridge IDE — Prompt 13: Bridge Layer (VS Code / JetBrains IDE Integration) 2.3k ★
- Cyberboss — 一个接入微信的本地生活 Agent Bridge,让 Codex / Claude Code 拥有时间感、行踪感、随机唤醒和自主唤醒能力,用主动陪伴替代所有番茄钟和效率工具,自动记录日记、维护生活时间轴、发送文件和表情包 1.3k ★
README
Claude Collector
`claude-collector` is an OTLP/HTTP bridge for Claude Code telemetry. It receives Claude Code native OpenTelemetry traces/logs, adds OpenInference/Arize-compatible attributes for LLM and TOOL spans, and forwards the result to Arize or another OTLP/HTTP destination.
It preserves Claude Code's native trace tree:
claude_code.interaction -> openinference.span.kind=AGENT
├── claude_code.llm_request -> openinference.span.kind=LLM
└── claude_code.tool -> openinference.span.kind=TOOL
Start With Debug Setup
The recommended first step is to run the repo-local Claude skill:
Use the debug-setup skill.
The skill lives at:
.agents/skills/debug-setup/SKILL.md
`debug-setup` does the full validation path:
- Checks Claude settings files for telemetry env vars that could override local exports.
- Starts an isolated local collector on a debug port.
- Sends a Claude marker prompt.
- Verifies local JSONL output contains mapped
TOOLandLLMspans. - Starts a fresh debug collector with Arize forwarding enabled.
- Sends another marker prompt.
- Verifies both local JSONL output and upstream OTLP success, normally:
forwarded telemetry path=/v1/traces status=200
For testing an already-running collector instead of starting an isolated debug collector, use:
Use the debug-live-collector skill.
Required `.env`
Create a local `.env` file:
ARIZE_API_KEY=...
ARIZE_SPACE_ID=...
ARIZE_PROJECT_NAME=claude-oltp-direct
ARIZE_OTLP_ENDPOINT=https://otlp.arize.com/v1/traces
CLAUDE_COLLECTOR_LISTEN=:14318
CLAUDE_COLLECTOR_ALLOW_BODY_REF=true
CLAUDE_COLLECTOR_BODY_REF_CLEANUP_ROOTS=/tmp/claude-code-otel-bodies
CLAUDE_COLLECTOR_EXPORT_FILE=/tmp/claude-collector-latest.jsonl
`CLAUDE_COLLECTOR_BODY_REF_CLEANUP_ROOTS` is required whenever `CLAUDE_COLLECTOR_ALLOW_BODY_REF=true`: the collector only reads `body_ref` files whose resolved path lies inside one of these directories
Related Skills
Add Collector
Add a telemetry collector end-to-end (section schema → fixture → agent collector → health rule → dashboard)
Coding Harness Tracing
Trace coding harnesses like claude-code, cursor, and codex to Arize AX or Phoenix
Warpforge
Local-first desktop command center for Claude Code, Codex, OpenCode, and other coding agents—parallel tasks, w
Ccledger
Team usage ledger for Claude Code. Self-hosted OTLP ingest into SQLite, with a per-person dashboard. Independe
Otel Instrument
Generate OTel SDK bootstrap and OTLP wiring for this service
Claude Code Intelligence
Local-first usage intelligence for Claude Code: an OTLP receiver, transcript parsing and quota tracking that a
Related Agents
Team Codex Verifier
Codex-delegated verify stage. Forwards the dispatch to the packaged Codex verify wrapper via one Bash call and
Analysis Orchestrator
Use when the root orchestrator needs a read-only codebase audit — selects a subset of its 6 lenses by objectiv
Dr Wrapper Correctness
Deep-review finder angle. Audits every wrapper, adapter, proxy, shim, facade and projection the diff introduce