COCA: Generative Root Cause Analysis for Distributed Systems with Code Knowledge
Not on the map. Why?
Abstract (arXiv)
Runtime failures are commonplace in modern distributed systems. When such issues arise, users often turn to platforms such as Github or JIRA to report them and request assistance. Automatically identifying the root cause of these failures is critical for ensuring high reliability and availability. However, prevailing automatic root cause analysis (RCA) approaches rely significantly on comprehensive runtime monitoring data, which is often not fully available in issue platforms. Recent methods leverage large language models (LLMs) to analyze issue reports, but their effectiveness is limited by incomplete or ambiguous user-provided information. To obtain more accurate and comprehensive RCA results, the core idea of this work is to extract additional diagnostic clues from code to supplement data-limited issue reports. Specifically, we propose COCA, a code knowledge enhanced root cause analysis approach for issue reports. Based on the data within issue reports, COCA intelligently extracts relevant code snippets and reconstructs execution paths, providing a comprehensive execution context for further RCA. Subsequently, COCA constructs a prompt combining historical issue reports along with profiled code knowledge, enabling the LLMs to generate detailed root cause summaries and localize responsible components. Our evaluation on datasets from five real-world distributed systems demonstrates that COCA significantly outperforms existing methods, achieving a 28.3% improvement in root cause localization and a 22.0% improvement in root cause summarization. Furthermore, COCA's performance consistency across various LLMs underscores its robust generalizability.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2026Cloud-OpsBench: A Reproducible Benchmark for Agentic Root Cause Analysis in Cloud Systemscited by 15
- 2025TAMO: Fine-Grained Root Cause Analysis via Tool-Assisted LLM Agent with Multi-Modality Observation Data in Cloud-Native Systemscited by 13
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediationcited by 11
- 2026Agentic Memory Enhanced Recursive Reasoning for Root Cause Localization in Microservicescited by 9
- 2025PRAXIS: Integrating Program Analysis with Observability for Root-Cause Analysiscited by 2
- 2026Distribution-free root cause analysiscited by 1
- 2025ANSC: Probabilistic Capacity Health Scoring for Datacenter-Scale Reliabilitycited by 0
- 2026Auditable Graph-Guided Root Cause Analysis for Kubernetes Incidentscited by 0
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysiscited by 0
- 2026SRE-Marathon: A Continuous, Change-Driven Benchmark for Autonomous Site Reliability Agentscited by 0
- 2026SLS-Bench: A Benchmark for Incident Log Summarization with Synthetic Observability Datacited by 0
- 2026SLS-Bench: A Benchmark for Incident Log Summarization with Synthetic Observability Data12 Oct 2026
- 2026SRE-Marathon: A Continuous, Change-Driven Benchmark for Autonomous Site Reliability Agents26 Sep 2026
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysis21 Aug 2026
- 2026Auditable Graph-Guided Root Cause Analysis for Kubernetes Incidents7 Jun 2026
- 2026Distribution-free root cause analysis20 May 2026
- 2026Cloud-OpsBench: A Reproducible Benchmark for Agentic Root Cause Analysis in Cloud Systems28 Feb 2026
- 2026Agentic Memory Enhanced Recursive Reasoning for Root Cause Localization in Microservices6 Jan 2026
- 2025PRAXIS: Integrating Program Analysis with Observability for Root-Cause Analysis26 Dec 2025
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediation3 Nov 2025
- 2025ANSC: Probabilistic Capacity Health Scoring for Datacenter-Scale Reliability22 Aug 2025
- 2025TAMO: Fine-Grained Root Cause Analysis via Tool-Assisted LLM Agent with Multi-Modality Observation Data in Cloud-Native Systems29 Apr 2025