Jaeger 2.22 lets an agent investigate traces without dumping the whole trace
Distributed tracing has become an indispensable foundation for maintaining operational health and understanding latency in modern, complex microservice architectures. Yet, the sheer volume of data encapsulated within a single distributed trace—potentially involving hundreds or even thousands of individual spans—presents a critical, scaling bottleneck that traditional AI processing methods cannot efficiently overcome. Jaeger 2.22 directly confronts this challenge by previewing an integrated, AI-assisted troubleshooting and generative AI (GenAI) observability experience. This system fundamentally transforms deep trace investigation from a manual, data-heavy, and time-consuming chore into a conversational, focused, and fully auditable process, crucially avoiding the costly, slow, and inefficient necessity of dumping massive trace payloads to an external LLM.
The Trace-Volume Problem
The architectural shift towards microservices means that a single user transaction often traverses a multitude of independent, distributed services, resulting in a trace composed of an immense number of spans. When engineers attempt to analyze these massive traces using current, monolithic AI methods, the resulting "trace-volume problem" emerges. Feeding an entire, large trace payload into an LLM is profoundly inefficient: it consumes excessive tokens, driving up computational cost, introduces significant end-to-end latency, and statistically, the relevant piece of evidence (such as a specific database query latency, an unexpected service failure, or a high-latency span) is inevitably buried and obscured by thousands of irrelevant data points. The core design pivot in Jaeger is recognizing that effective diagnostic context is not derived from sheer volume, but from surgical precision—the ability to fetch only the necessary, highly focused data.
Introducing Ask Jaeger
Jaeger 2.22 pioneers "Ask Jaeger," an experimental, in-product natural-language assistant. This capability significantly modernizes the operational interface, shifting it from purely graphical, dense dashboard exploration to highly intuitive, conversational inquiry. Instead of forcing engineers to manually filter, aggregate, and interpret vast quantities of raw trace data, they can now investigate complex system behavior using natural language queries. Critically, this assistant is designed not as an opaque black box. When it provides an answer, the underlying actions—the specific tool calls it makes, the exact data it retrieves from the trace—stream directly into the interface. This immediate, visible transparency ensures that the engineer maintains full auditability and visibility into how the AI reached its conclusion, establishing critical trust and enabling effective human oversight over automated output.
The Nine-Tool MCP Endpoint
The conversational power of Ask Jaeger is grounded in a native, opt-in Management Control Protocol (MCP) endpoint. This endpoint was strategically designed not as a general, monolithic API, but rather to provide nine highly focused, specialized tools dedicated strictly to core observability tasks. These focused functions empower the agent to perform precise, defined operations: discovering related services, identifying specific errors, mapping complex service topology, pinpointing critical request paths, and inspecting individual spans in detail. The strategic choice to limit the tools to a focused set of nine—rather than offering a broad, catch-all API—is vital for safety and performance. It drastically minimizes the complexity and noise within the LLM's context window, ensures the AI's focus remains strictly on actionable observability data, and actively mitigates risks associated with broad, unsupervised, and potentially damaging access to production systems.
Reusable Diagnostic Skills and N+1 Detection
To standardize, accelerate, and de-risk debugging across the community, Jaeger integrates built-in, reusable diagnostic skills. These skills effectively encode common, repeatable failure patterns into structured, testable, and universally applicable workflows. A prominent and classic example is N+1 query detection—the highly inefficient pattern of one initial query followed by numerous subsequent, per-item queries. By formalizing such issues (alongside retry storms, cache misses, and complex tool-call loops) as diagnostic skills, the AI agent moves far beyond simple Q&A. It executes a standardized, systematic root-cause analysis. This structured approach makes complex investigations repeatable, verifiable, and far less reliant on unpredictable, ad-hoc human intuition, thus improving overall system reliability and reducing debugging overhead.
GenAI-Aware Visualization in Traces
The modern software stack frequently integrates GenAI components (e.g., calling LLMs, implementing Retrieval Augmented Generation (RAG)). Traditional tracing often fails to adequately model these opaque, AI-driven interactions within a standard service map. Jaeger 2.22 solves this by introducing specialized, GenAI-aware views. These views are built upon OpenTelemetry semantic conventions to explicitly visualize the entire mechanics of AI usage within the distributed trace. This comprehensive visualization includes model interactions, internal agent activity, data retrieval operations, precise token usage tracking, the specific system instructions provided to the model, and the execution of external tools. This capability ensures the entire AI workflow is fully observable, providing a holistic system picture that accurately encompasses both legacy microservice logic and the new AI components, critical for holistic platform understanding.
Progressive Disclosure: Evidence on Demand
The core, guiding design philosophy behind Jaeger's architecture is progressive disclosure. This mandates that the AI agent is explicitly instructed not to request the entire trace payload upfront, which would be prohibitively large and costly. Instead, it intelligently retrieves only the minimal, specific trace evidence required for the immediate investigative step. This targeted, on-demand data retrieval drastically improves operational efficiency, minimizes network latency, and, crucially, prevents catastrophic data overload on both the agent and the human operator. This precise approach maintains the engineer's necessary control by ensuring they are always presented with focused, actionable evidence directly tied to the AI's step-by-step reasoning, rather than being lost in a massive, undifferentiated dataset, thereby maximizing the utility of the LLM.
Open Architecture: MCP, ACP, AG-UI, and OpenTelemetry
The robust nature of these new capabilities is structurally dependent on a highly modular and open architecture, unifying MCP, Agent Client Protocol (ACP), AG-UI, and OpenTelemetry. A fundamental design decision is that Jaeger supports any ACP-compatible agent; it does not mandate or ship its own proprietary agent or LLM. This commitment to open, standardized protocols ensures maximum interoperability across diverse, vendor-neutral AI components. Furthermore, the system exhibits a clever recursive property: agents that propagate trace content within the trace itself appear within Jaeger's own traces. This allows the engineer to debug the debugging assistant using the very same tracing system, creating a robust and self-observability loop that is invaluable for long-term system integrity and operational maturity.
Transparency, Interoperability, and Extensibility
This intentionally open and modular design supports three crucial pillars of modern infrastructure. Transparency is non-negotiable: engineers have the explicit ability to inspect the precise tool calls and the specific trace evidence used behind every AI-assisted finding, guaranteeing complete auditability and accountability. Interoperability is fostered by adherence to open protocols, effectively preventing vendor lock-in and enabling seamless integration with any external AI tool. Extensibility is high, empowering the broader community to build custom, specialized troubleshooting capabilities on top of the core system using the standardized diagnostic skill framework, fostering collective, decentralized innovation. The CNCF Annual Survey 2025, which found 66% of organizations hosting GenAI workloads use Kubernetes, underscores the urgent need for these interoperable, open solutions to manage growing AI complexity at scale.
Progressive Disclosure is Also a Cost Control
Beyond efficiency and latency, progressive disclosure is a critical financial control mechanism. Sending a multi-megabyte trace to a large language model incurs substantial token costs, which scale linearly with data volume. By querying only the precise, minimal evidence—for instance, a span detailing a specific database error, rather than the entire 1,000-span trace—organizations drastically reduce unnecessary LLM usage. This targeted retrieval strategy shifts the cost model from 'volume-based' to 'query-specific,' allowing teams to budget and manage AI observability expenses more predictably. It transforms a potential operational cost sink into a controlled, measurable diagnostic process, ensuring that the power of GenAI is leveraged economically alongside its technical benefits.
Securing the MCP Endpoint
Since the MCP endpoint is opt-in, security is not handled by default, placing the onus on the deploying team. Robust security practices require implementing strict authentication and granular authorization layers (e.g., RBAC) to ensure only authorized agents can query sensitive production trace data. Furthermore, exposure must be strictly controlled, typically limited to internal, secured network segments, never public-facing. Effective operational security also demands rate limiting to prevent abuse or denial-of-service attacks, and comprehensive audit logging that tracks every tool call, every query, and every piece of data retrieved. Engineers must ensure that these security layers are correctly configured before enabling the experimental features, as the architectural transparency of Jaeger requires the operator to manage this security posture, not the project itself.
What to Measure Before Enabling
Before deploying this experimental feature in a production environment, careful measurement and planning are essential. Teams must first establish baseline metrics, including average trace volume, critical latency percentiles, current error rates, and existing LLM token costs for similar tasks. Additionally, they should assess the data sensitivity within their traces to ensure compliance. A crucial step is defining a clear rollback plan, enabling rapid reversion if unexpected instability or security issues arise. By quantifying these metrics beforehand, organizations move from reactive experimentation to proactive, data-driven deployment, ensuring that the gain in diagnostic speed outweighs the new operational complexity.
The Human-in-the-Loop Question
It is vital to remember that Ask Jaeger is an assistant, not an autonomous root-cause solver. The AI proposes a conclusion (e.g., "the root cause is service X latency"), but the human engineer remains the final decision-maker. The system's design—exposing tool calls and retrieved evidence—is the mechanism for enforcing this human-in-the-loop approach. This transparency prevents automation bias, where engineers blindly trust AI output. The engineer inspects the evidence and confirms the finding, maintaining accountability and expertise. This partnership ensures that GenAI augments, rather than replaces, expert domain knowledge, leading to safer, more reliable, and ultimately more valuable system investigations.
Important Caveats and Considerations
It is absolutely paramount to treat these features as an experimental preview in Jaeger v2.22, not as a guaranteed production contract. Developers must heed several critical caveats: the MCP endpoint is explicitly opt-in and must be subject to rigorous, granular security configuration; semantic-convention churn is an expected reality as the OpenTelemetry standard continuously evolves—meaning integrations must be resilient to subtle standard changes and maintain backward compatibility; data privacy is ultimately determined by the security and architecture of the connected agent/sidecar, not guaranteed by Jaeger itself; and model cost must be actively managed due to unavoidable LLM token consumption. Critically, Jaeger provides the standardized framework and focused tools; it does not ship its own proprietary LLM or agent, necessitating integration with well-vetted, ACP-compatible components for safe and responsible deployment.
Conclusion
Jaeger 2.22 represents a mature, responsible, and open evolution of distributed tracing into the Generative AI era. By strategically prioritizing progressive disclosure, utilizing focused nine-tool MCP access, and maintaining an open, modular architecture, it effectively mitigates the crippling trace-volume problem while crucially preserving engineer trust through complete, granular transparency. This pivotal shift enables observability to evolve from a passive dashboard review into a targeted, auditable, agent-assisted investigation, steering the industry away from isolated, proprietary AIOps silos toward a cohesive, standard-driven, and sustainable troubleshooting paradigm for the cloud-native world.