Traces can be sent to OTLP-compatible observability platforms and used to inspect failures, latency, token usage, and tool activity. SDK and API tracing can be combined to show spans in one trace, although API spans for Claude Platform on AWS are separate. The default content mode is metadata-only; full-content mode adds prompts and responses. API tracing is configured in the Claude Console and requires admin permission, while SDK tracing is configured in code. Source: https://platform.claude.com/docs/en/manage-claude/opentelemetry
Claude Managed Agents, the Messages API, and the Claude SDK now support OpenTelemetry traces.
In one minute
Anthropic’s Claude Platform documentation describes OpenTelemetry tracing for Messages API requests, Claude SDK clients, and Managed Agents sessions.