Claude Code session traces can leave the tools they invoke disconnected from the agent’s trace. In this episode, I show how to propagate trace context with CLAUDE_CODE_PROPAGATE_TRACEPARENT and connect agent activity, Docker builds, and custom tools into one continuous trace.

The walkthrough covers Claude Code configuration, OpenTelemetry settings for Docker BuildKit and Buildx, and instrumenting your own tools using context propagation through environment variables.