arXiv(opens in a new tab)cs.SEAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.21310

Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysis

Qisheng Lu, Aoyang Fang, Junjielong Xu, Jin'ao Shang, Songhan Zhang, Yifan Yang, Xiaochuan Yan, Pinjia He

Abstract.

Automated microservice root cause analysis (RCA) is usually evaluated by determining whether the final answer localizes the fault source. However, this kind of evaluation is insufficient for on-call site reliability engineers (SREs), who need the evidence and reasoning behind the fault. Evaluating the diagnostic process is challenging because agent trajectories interleave free-form natural-language reasoning with heterogeneous tool calls and telemetry results, making it difficult to assess agents’ behavior.

To assess how well RCA agents ground their diagnoses in evidence, we propose a trajectory-analysis methodology that characterizes evidence navigation and utilization, SRE-oriented diagnostic intent, and recurring failure modes. Our key insight is that fault-propagation paths provide a causal reference for assessing where agents investigate and how they use evidence. Using this methodology, we analyze 5,000 trajectories from ten framework–backbone configurations on RCABench, covering two backbone models and nine agent frameworks. We find that correct localization can hide deficiencies in causal reconstruction. Successful investigations use retrieved evidence to guide subsequent queries, consider a broader range of diagnostic intents, and investigate the problem more deeply. Failed investigations drift toward unrelated services or repeat shallow queries, with recurring failure patterns arising from omitted evidence, misinterpreted evidence, and unsupported reasoning.

To test whether these mined failure patterns can guide improvement, we instantiate a lightweight defense prototype targeting the three failure families. Across two held-out benchmarks, two backbone models, and six diagnostic frameworks, the cataloged failure patterns recur; the prototype reduces their prevalence and raises Acc@1\mathrm{Acc}@1 by 3.5–35.1 percentage points across all tested configurations, suggesting that the mined failures both generalize and are actionable. Taken together, our findings motivate a process-level view of automated RCA, in which diagnostic trajectories reveal whether a diagnosis is not only correct, but also well-grounded and open to improvement.

Keywords:

Root Cause Analysis, Microservices, LLM Agents, AIOps

References (30)