Quarkus AI root-cause tool tests its diagnoses against injected failures
The Quarkiverse project correlates traces, logs and metrics through MCP, then uses chaos scenarios and a separate judge model to test the resulting analysis.
Quarkus has detailed how its experimental AI Root Cause Analysis project connects observability data to a language model — and, more unusually, how the project tests whether the model’s diagnosis is any good.
The engineering deep dive describes a Quarkiverse application that works with OpenTelemetry-instrumented services and an existing Grafana LGTM stack. The AI module reaches that telemetry through MCP, using tools for retrieving recent Tempo traces, correlated Loki logs and Prometheus metrics. An optional Quarkus Dev MCP connection can also expose application source and generate Grafana dashboard JSON.
Filtering before analysis
The design does not hand raw telemetry directly to the model. A filtering layer removes SDK metadata, localhost attributes, repeated fields, Netty and OpenTelemetry internals, static values and histogram-bucket detail. Quarkus says the metrics filter cuts one example from 586 entries to about 35, an important constraint when traces, logs and metrics must share a finite context window.
The model then chooses traces to inspect, retrieves their correlated logs and checks metrics at the root span’s start time. It produces a structured report covering root causes, slow operations, error patterns and cross-trace relationships. The implementation uses LangChain4j AI-service interfaces and a roughly 290-line system prompt, according to the project’s post.
Chaos as a test fixture
The more consequential part is the evaluation harness. Companion applications expose 11 application-level failure modes, including delay, CPU pressure, memory leaks, lock contention, thread-pool blocking, intermittent errors and deadlock. Toxiproxy adds network-level faults around MySQL and an external weather API, including latency, connection cuts and bandwidth constraints.
For each scenario, the harness injects a known failure, waits for telemetry, runs the analysis and passes the captured evidence plus the diagnosis to a judge model. The judge scores completeness, accuracy, correlation quality and actionability on a 100-point scale; the default passing threshold is 70. The analyzer and judge can use different providers to reduce the risk of a model grading its own output leniently.
Quarkus reports that all 19 scenarios passed across four OpenAI/Grok analyzer-and-judge combinations. That is a project-reported test result, not an independent benchmark, and an LLM judge remains a probabilistic evaluator. Still, publishing the scenarios, evidence path and scoring dimensions makes this a more inspectable approach than presenting AI-assisted incident diagnosis as an untested black box.
For platform teams evaluating the project, the practical question is not only whether the model can produce a plausible explanation. It is whether the same telemetry and known failures produce consistently correct, actionable diagnoses across models and application architectures. The project now has a framework for measuring that claim as it evolves.
sources
comments · 0