View OpenTelemetry traces from Claude Code SDK.
npm install -g @anthropic-ai/claude-traceclaude-traceThen run your SDK application with tracing enabled:
export ENABLE_BETA_TRACING_DETAILED=1
export BETA_TRACING_ENDPOINT=http://localhost:4318See getting_started.md for detailed setup and API documentation.