Bridging the postmortem gap in microservice root cause analysis using open knowledge retrieval and temporal anomaly synthesis
Recent advances in large language models (LLMs) have improved their abilities in knowledge utilization, data understanding, and reasoning, making LLM-assisted root cause analysis (RCA) a promising direction for AIOps. Among these approaches, retrieval-augmented generation (RAG)-based RCA methods enhance LLMs with contextual knowledge from historical incident reports and external knowledge sources, achieving strong performance in production environments. However, their broader adoption is limited by the lack of publicly available, high-quality postmortem corpora, as such data are often inaccessible due to privacy, copyright, and internal policy constraints. To address this limitation, we propose TRAC-RCA, a tool-augmented RCA framework that combines open knowledge retrieval, synthetic private postmortem generation, temporal anomaly clustering, and LLM-based reasoning for microservice systems. We collect 27,262 incident tickets from public incident dashboards of multiple cloud vendors and open-source postmortem repositories, and curate 15,918 high-quality postmortem entries through LLM-assisted processing and rigorous manual screening. For systems that lack historical incident reports but provide telemetry data, we further develop an LLM-based method that combines multivariate time-series anomaly detection with structured report generation to infer system-specific postmortems. In addition, we design a set of specialized tools to support LLM-based RCA reasoning. Extensive experiments across three datasets show that TRAC-RCA improves overall RCA effectiveness and efficiency relative to RCA-agent, achieving up to a 55 percentage-point improvement in candidate-set recall (Top- k RCA) with GPT-4o and an average gain of 10.8 percentage points on Hard tasks across all LLMs, while strict Top-1 diagnosis remains a trade-off on certain datasets due to uncalibrated candidate ranking. To facilitate future research, we publicly release the resulting postmortem corpus at https://github.com/grampus-whcz/TRAC-RCA.
Authors
- D Wang (ORCID: https://orcid.org/0000-0001-5612-6313)
- Xiaoguang Mao (ORCID: https://orcid.org/0000-0003-4204-7424)
- Shangwen Wang (ORCID: https://orcid.org/0000-0003-1469-2063)
- Bo Lin (ORCID: https://orcid.org/0000-0001-5905-4677)
- Yan Lei (ORCID: https://orcid.org/0000-0003-4504-6806)
- Zhuo Zhang
- Tun Li
Institutions
- Chongqing University (CN)
- National University of Defense Technology (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-12-03
- DOI
- https://doi.org/10.1038/s41598-026-74766-z
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00