Claude Now Supports Native OpenTelemetry in Databricks MLflow

Claude Now Supports Native OpenTelemetry in Databricks MLflow

Identifying recurring operational problems becomes more efficient when Genie Code groups related findings from Claude traces into actionable issue reports in MLflow. This advancement reflects a significant shift in how developers interact with large language models during the current technological cycle starting in 2026. As agents become more autonomous, the need for transparent execution logs has moved from a luxury to a requirement for enterprise-grade deployment. Databricks MLflow now serves as a primary destination for native OpenTelemetry export, enabling a seamless flow of telemetry data from the Claude Platform. This integration bridges the gap between raw model outputs and the rigorous monitoring standards required by modern data engineering teams. By capturing individual spans—the building blocks of an execution trace—developers can reconstruct the precise logic and tool-calling sequence an agent employed. This transparency is critical for identifying why a specific request may have deviated from the expected behavior or why a tool was repeatedly invoked without success.

1. Generate a New Experiment: Trace Storage Protocols

In Databricks, the initial setup begins within the Experiments tab where the process for managing agentic workloads is centralized. By selecting the option to create a new experiment, users establish a workspace-level container that organizes telemetry data and evaluation results. A crucial configuration choice involves the Trace storage location, where Unity Catalog must be selected to ensure data is handled according to enterprise governance protocols. This link between MLflow and Unity Catalog allows for the automatic creation of tables that store OpenTelemetry spans in a structured format. By designating a specific catalog and schema, administrators maintain strict control over where sensitive interaction data is persisted, enabling both security and accessibility for authorized personnel. This structured approach ensures that every trace generated by Claude is logically grouped with its relevant project, making it much simpler for teams to audit historical performance or retrieve specific sessions during an investigation.

Once the experiment is established, it serves as the foundational anchor for all subsequent observability activities within the Databricks environment. The choice of Unity Catalog for trace storage is particularly relevant because it allows users to query telemetry data using standard SQL in addition to viewing it through the MLflow interface. This capability is vital for organizations that need to join LLM performance data with other operational datasets for comprehensive business intelligence reporting. For instance, a developer might want to correlate high latency in Claude’s responses with specific fluctuations in database performance or external API response times. With the experiment correctly configured, the infrastructure is prepared to receive high-velocity data streams from the Claude Platform, ensuring that no execution detail is lost. This setup also simplifies the permissions management process, as the existing Unity Catalog access controls naturally extend to the telemetry data logs and metadata.

2. Set Up the Native Export: Technical Configuration

Configuring the connection between the Claude Platform and Databricks requires precise environmental variables to ensure that telemetry data reaches the intended destination. Developers must identify their Databricks workspace ID and the specific geographical region where their infrastructure resides to facilitate a secure handshake between services. A critical component of this setup is the Zerobus connection, which acts as the ingestion pathway for spans into the Databricks ecosystem. Securing a table-scoped OAuth token is a mandatory step, providing the necessary authorization for the Claude Platform to write data directly into the designated Unity Catalog table. For teams utilizing the Anthropic SDKs, the integration is further streamlined by installing the appropriate instrumentation packages and initializing an OpenTelemetry tracer provider. This provider is responsible for capturing every interaction between the application and the Messages API, wrapping each request and response in an OTel-compliant span.

Beyond basic SDK usage, more advanced implementations involving Claude Managed Agents or Claude Code require additional configuration to maintain trace continuity. To send traces from these components to the same Databricks destination, specific environment variables must be exported before the application lifecycle begins. This ensures that even the most complex agentic workflows, which might involve multiple nested tool calls or autonomous planning phases, are captured within a single unified trace structure. The use of native OpenTelemetry protocols is a significant advantage here, as it eliminates the need for proprietary shim layers or custom logging code that often becomes brittle over time. Instead, the standard protocol ensures that the data remains portable and interoperable with the broader observability stack. By standardizing on this approach in 2026, enterprises can future-proof their AI infrastructure, making it easier to swap or upgrade components without losing the ability to monitor their systems.

3. Execute a Project: Analyzing Trace Data

After the integration is active, running a task through a Claude agent immediately begins populating the MLflow experiment with real-time telemetry data. Users can navigate to the Traces tab within their specific experiment to view a chronological list of executions, each represented by a unique trace ID. Clicking into a specific trace reveals a detailed visualization of the agent’s internal reasoning process, including model requests, tool activations, and the exact timing of each step. This view is indispensable for identifying bottlenecks or logical loops where an agent might be stalling. For developers who need to see the specific data being passed back and forth, opting into the “full” content mode is necessary. When enabled, this mode captures the literal text of inputs and outputs, allowing for a granular audit of how the model interpreted its instructions and how it processed the data returned by external tools. This level of detail transforms a simple response into a record.

Reviewing these traces provides immediate insight into the operational health of an AI application, revealing patterns that might not be obvious from the final output alone. For example, a trace might show that an agent is calling a search tool three times to find information that was actually present in the first result, indicating a need to refine the system prompt or tool instructions. The visualization in MLflow makes these inefficiencies glaringly obvious, allowing developers to optimize token usage and reduce latency. Furthermore, the ability to see tool-specific spans allows for isolated debugging of custom integrations. If a database query fails or an external API returns an error, the trace captures the exact payload that caused the issue, significantly reducing the time required for root cause analysis. This systematic approach to reviewing agent activity ensures that every deployment is backed by data-driven insights, moving the development process away from trial-and-error toward a more disciplined methodology.

4. Strategic Advancement: Improving Agentic Performance

The true power of this integration lies in the advanced diagnostic capabilities it unlocks through MLflow’s dedicated analysis features. By utilizing Genie Code to scrutinize recorded executions, developers can automatically identify where an agent might have ignored relevant context or why a specific tool call failed to produce the desired outcome. This automated analysis acts as a force multiplier for engineering teams, highlighting potential flaws that might be missed during a manual review. Additionally, the Beta version of MLflow Issues takes this a step further by detecting recurring quality and operational problems across multiple sessions. Instead of treating every failure as an isolated incident, the system groups related findings, such as repeated searches or formatting errors, into comprehensive reports. This allows teams to prioritize fixes that will have the greatest impact on overall system reliability. Monitoring these issues over time allows organizations to verify whether prompt adjustments have resolved the problems.

To capitalize on these new capabilities, developers began by connecting their existing Anthropic SDK instances to the Databricks backend using the documented OTel protocols. The transition from basic logging to native tracing provided the necessary infrastructure to move beyond anecdotal testing and toward systematic validation of agentic behavior. Looking ahead, the focus shifted toward utilizing these traces as the primary dataset for fine-tuning and prompt engineering. Organizations found that the richest source of improvement data came not from synthetic datasets, but from the actual, failed traces of agents operating in the field. By maintaining a persistent library of these traces in Unity Catalog, teams ensured that their models were constantly being tested against the most challenging real-world scenarios. The integration of native OpenTelemetry into Databricks MLflow essentially established a new standard for AI observability. Practitioners should now focus on automating their evaluation pipelines for future iterations.

Subscribe to our weekly news digest.

Join now and become a part of our fast-growing community.

Invalid Email Address
Thanks for Subscribing!
We'll be sending you our best soon!
Something went wrong, please try again later