Claude Platform adds OpenTelemetry trace export in public beta
- Source
- video.twimg.com
- Publisher
- Anthropic
- Author
- ClaudeDevs
- Date
Claude Platform can now emit OpenTelemetry traces for calls made through the Messages API, sessions in Managed Agents, and the Claude SDKs. Spans follow the gen_ai semantic conventions and carry token counts, the model name and tool names. By default only that metadata leaves the platform; full prompts and tool results are exported only when a team opts in, which matters for anyone with data handling rules. LangChain announced the same day that these traces flow into LangSmith in public beta, giving step-level views of agent runs without custom instrumentation. The practical change is that Claude agent traffic can land in whatever observability stack a team already runs, next to the rest of its service traces. Both announcements describe the feature as a public beta, so span shapes and attribute names may still change before general availability.

Context
Anthropic's new OpenTelemetry export lets teams send a step-by-step record of each Claude request and agent run to the monitoring tools they already use. The beta announcement covers the Messages API, Claude Managed Agents and the Claude SDKs. Anthropic's documentation explains the terms. OpenTelemetry is "a vendor-neutral standard that most observability platforms support". A trace is "the full record of one request through your system", and a span is one step within it, such as a model request or a . Claude's spans use attributes from the GenAI semantic conventions, so platforms that support those conventions can recognize them "without extra setup". The docs name partners such as Datadog, Grafana Cloud, Honeycomb and LangSmith. LangChain announced the LangSmith route separately.
There are two setup paths. API tracing is configured by an admin in the Claude Console and works for any . SDK tracing is set up in code and adds the spans your own creates, such as tools that run locally. With both enabled, the client side and the API side of a request appear in one trace. Each destination also has a content mode. The default, only, records identifiers, timing, status and token counts. Full content adds the actual prompts and responses. In the demo video (automatic speech transcript only), an Anthropic presenter uses this breakdown to debug an incident-response agent. They filter error spans by tool name and find that a metrics tool "times out about a third of the calls", which makes the agent spend extra turns retrying. They then group token usage by agent to see what each one costs to run.
The documentation also sets some limits. With full content on, prompts and responses are stored under the observability platform's own access and retention settings. Organizations with HIPAA, FERPA or K-12 data-handling restrictions export only metadata from destinations. Anthropic also cautions that exported spans "aren't guaranteed to be a complete record of your API usage" because delivery is best effort. For tracking each key's usage, it points to the separate Usage API.
- tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
- Client — The program that sends a request to a server and receives its response.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
- Metadata — Data about a file, such as its name, size and timestamps, as distinct from its contents.





