Skills
Claude Code OTEL Tracing: Bash Subprocesses Now Inherit W3C TRACEPARENT — End-to-End Observability Across Agent-Spawned Processes
v2.1.97 adds OpenTelemetry integration for the Bash tool: when OTEL tracing is enabled, spawned subprocesses automatically inherit the W3C TRACEPARENT environment variable. This means you can trace an agent's entire execution chain — from the LLM decision to invoke a tool, through the Bash command, into any child processes (test runners, build tools, deployment scripts) — in a single distributed trace. For teams running Claude Code in production pipelines, this closes the observability gap between 'what the agent decided' and 'what the system actually did'.
↳ Follow the thread