Key Takeaways
- Claude Platform can now emit OpenTelemetry traces from the Messages API, Claude Managed Agents and the Claude SDKs, so AI calls show up in the same observability tools you already use.
- You enable tracing inside your Claude integration and point an OpenTelemetry exporter at your existing backend; each call emits spans covering latency, errors and token flow.
- The standout benefit is agent visibility: a managed agent run becomes a readable trace waterfall instead of a black box.
- It is in public beta with no dedicated product page yet, so confirm current setup details and supported signals on the official site, anthropic.com, before relying on it in production.
Quick Facts
| Type | OpenTelemetry tracing for Claude Platform |
|---|---|
| Devices | Any environment running Claude SDKs or API calls |
| Price | Public beta; check official site for terms |
| Languages | Used from the Claude SDKs and API clients |
| Highlight | Agent runs become fully visible trace waterfalls |
| Learning curve | Easy if you already know OpenTelemetry |
| Category | Dev & Web Tools |
| Creator | ClaudeDevs |
| Official site | anthropic.com ↗ |
| Heat | 🔥 977.5K Heat |
| Last updated |
Why Claude Platform Added OpenTelemetry Tracing
Running Claude in production has always raised the same operational question: what actually happened during that request? Before tracing, teams often stitched together application logs, proxy timings and their own counters to guess where latency came from or why a call failed. Claude OpenTelemetry Tracing, announced by Anthropic's Claude developer team on October 14, 2026 and now in public beta, closes that gap by making Claude Platform emit standard OpenTelemetry traces that flow into the observability stack you already operate.
The design choice matters. Rather than shipping a proprietary dashboard, Anthropic lets Claude speak the OpenTelemetry protocol, the vendor-neutral standard used across modern monitoring tools. That means the same collector, backend and alerting rules you use for the rest of your services can receive Claude spans too. You keep one place to investigate incidents, compare latency across services and build dashboards, instead of adding another silo just for AI traffic.
It is aimed squarely at developers and platform teams running production AI workloads, not at casual chat users. If you call the Messages API, orchestrate Claude Managed Agents or build on the Claude SDKs, tracing gives you a first-class view of each of those interactions. Because it is a beta, treat it as something to evaluate in staging first and verify current behavior on the official site, anthropic.com, before you depend on it for critical alerting.
- Three trace sources in one standard
Traces can come from the Messages API, Claude Managed Agents and the Claude SDKs, all expressed as OpenTelemetry spans rather than a custom format.
- Built for existing stacks
You configure an exporter pointing at your own observability backend, so Claude data lands beside your other services instead of in a separate tool.
- Beta status is the key caveat
There is no dedicated product page yet, so confirm supported signals, sampling behavior and limits on the official site before production rollout.
How Claude Tracing Works Under the Hood
OpenTelemetry organizes telemetry into traces, and a trace is a tree of spans. When tracing is enabled in your Claude integration, an individual Messages API call, a managed agent run or an SDK request emits spans that record what happened and how long each part took. Those spans are handed to an exporter, which transmits them to the observability backend you choose. The result is a waterfall view where you can see the shape of a request rather than a single elapsed-time number.
Because the data is span-based, you can inspect latency, errors and token flow in the same interface. Latency analysis shows which stage dominates a slow response. Error spans surface failures with their context so you can group and alert on them. Token flow lets you relate usage patterns to the calls that produced them, which is useful when you are tuning prompts or tracking cost drivers across many requests.
The most talked-about effect is agent visibility. A Claude Managed Agents run involves multiple internal steps, and previously those steps were largely opaque from the outside. With tracing, an agent run becomes a trace waterfall you can read step by step, making it far easier to explain a strange outcome, find a bottleneck or prove that a retry loop is the real problem. Teams have been comparing these waterfalls to understand how their agents actually behave.
- Spans, not just logs
Each call produces structured spans with timing and context, so you can see parent-child relationships inside a single request or agent run.
- Latency and errors in context
Slow or failing calls appear in the same trace as the steps around them, which shortens the path from alert to root cause.
- Token flow visibility
Token-related information travels with the trace, helping you connect usage patterns to specific calls when tuning prompts or budgets.
- Standard exporters
You point an OpenTelemetry exporter at your backend, so routing, sampling and retention follow the same rules as your other telemetry.
Setting Up Claude Traces in a Real Project
The practical path is deliberately incremental. Start in a staging project rather than production, because a beta integration is exactly the kind of change you want to observe before it touches live traffic. Enable tracing in your Claude integration, then configure an OpenTelemetry exporter that points at your existing observability stack. The exporter is the bridge: it takes the spans Claude produces and ships them to the collector or endpoint your backend expects.
Once the wiring is in place, send a small number of Messages API calls and confirm that spans actually arrive. Verify the basics first: do traces show up at all, do they carry the attributes you expect, and can you find a specific call you just made? Only after that should you expand to agent runs and SDK traffic, and only after that should you roll the configuration out to production. This order keeps debugging simple, because you always know which change introduced a problem.
Expect some environment-specific work. Collector endpoints, authentication and network egress rules differ between stacks, and beta features can change. Keep a note of the exact configuration you used in staging so production rollout is a copy rather than a fresh investigation. If something does not appear as documented, check the official site, anthropic.com, for the current setup guidance instead of assuming your configuration is wrong.
- Staging first, always
Wire the exporter into a non-production project and prove spans arrive before touching live traffic.
- Prove it with a few calls
Send a handful of Messages API requests and locate them in your backend; this validates exporter, endpoint and credentials in one pass.
- Expand gradually
Add Managed Agents and SDK traffic after the basic pipeline works, so each new source is easy to isolate if something breaks.
- Record your configuration
Save the working staging setup so the production rollout is a repeatable copy, not a second round of guesswork.
Where Tracing Helps Most, and What to Watch
The clearest wins are incident response and agent debugging. When a request is slow, a trace waterfall shows which stage consumed the time. When an agent produces an unexpected result, the span tree shows the sequence that led there. When error rates rise, grouped error spans tell you whether the problem is your code, a dependency or the model call itself. For teams already standardized on OpenTelemetry, this is less a new tool and more a new data source in a familiar one.
Compared with rolling your own logging around Claude calls, tracing gives you structure for free: consistent span relationships, timing and context that ad-hoc logs rarely capture well. Compared with a vendor-specific AI monitoring product, the OpenTelemetry route keeps your data in the backend you already trust and avoids a second dashboard. The trade-off is that you own the collector, storage and retention decisions, and you need at least basic OpenTelemetry familiarity to get value quickly.
Be realistic about limitations. This is a public beta with no dedicated page yet, so details such as exactly which signals are emitted, sampling behavior and any usage limits should be confirmed on the official site rather than assumed. Observability also adds cost and noise if you trace everything indiscriminately, so plan sampling and retention deliberately. It is best suited to developers and platform teams running Claude in production; if you only make occasional API calls, the setup effort may outweigh the benefit.
- Best fit: production AI teams
You get the most value if you already run an OpenTelemetry backend and need visibility into Claude calls and agent runs at scale.
- Versus custom logging
Tracing provides structured spans and parent-child relationships that hand-rolled logs usually lack, at the cost of learning the standard.
- Versus vendor AI monitors
The OpenTelemetry approach keeps telemetry in your existing stack, but you remain responsible for collection, storage and retention.
- Watch cost and noise
Trace selectively, set sampling and retention on purpose, and re-check beta details on the official site as the feature evolves.
Step-by-Step Guide
Confirm beta details on the official site
Before writing any code, check the current guidance on anthropic.com for what the public beta supports. There is no dedicated product page yet, so verify supported trace sources, configuration options and any limits.
Pick a staging project and enable tracing
Choose a non-production project that already calls Claude. Enable tracing in your Claude integration there, so any misconfiguration affects test traffic rather than real users.
Configure your OpenTelemetry exporter
Point an OpenTelemetry exporter at your existing observability stack, using the collector endpoint and credentials your backend expects. This is the bridge that carries Claude spans into the tools you already use.
Send test calls and verify spans arrive
Make a few Messages API calls, then search your backend for the resulting traces. Confirm the spans appear with the timing and context you expect before widening the scope.
Expand to agents and SDKs, then production
Add Claude Managed Agents and SDK traffic once the basic pipeline is proven, inspect an agent trace waterfall, and only then roll the same configuration out to production with sampling and retention planned.
Frequently Asked Questions
What exactly is Claude OpenTelemetry Tracing?
It is a public-beta capability that lets Claude Platform send OpenTelemetry traces from the Messages API, Claude Managed Agents and the Claude SDKs into your own observability stack. Instead of a proprietary dashboard, Claude emits standard spans that your existing backend can receive, store and visualize. It is built by Anthropic's Claude developer team for teams running production AI workloads.
How do I enable it in my project?
You enable tracing inside your Claude integration, then configure an OpenTelemetry exporter that points at your observability backend. The recommended path is to do this in a staging project first, send a few Messages API calls, and confirm spans arrive before expanding to agents, SDKs and production. Check the official site, anthropic.com, for current setup details since it is a beta.
What can I actually see in a trace?
Each Messages API call, managed agent run and SDK request emits spans you can inspect for latency, errors and token flow. Because spans form a tree, you can see how a request breaks down stage by stage rather than as one total time. The standout benefit is agent visibility, where a managed agent run becomes a readable trace waterfall instead of a black box.
Does it cost anything, and is it safe for production?
It is in public beta, and no pricing details are confirmed in the announcement, so check the official site for current terms. Treat it as something to evaluate in staging first, since beta features can change and observability adds its own storage and processing costs. Roll it out to production only after you have verified span delivery, sampling and retention on your backend.
How does it compare with logging Claude calls myself?
Custom logging can capture what you remember to log, but it rarely gives you consistent parent-child relationships, timing structure and context across a whole request or agent run. OpenTelemetry tracing provides that structure in a vendor-neutral format, so Claude data lands beside your other services. The trade-off is that you need basic OpenTelemetry familiarity and you own the collector and storage decisions.






