Practical Root Cause Localization for Microservice Systems via Trace Analysis
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
Microservice architecture is applied by an increasing number of systems because of its benefits on delivery, scalability, and autonomy. It is essential but challenging to localize root-cause microservices promptly when a fault occurs. Traces are helpful for root-cause microservice localization, and thus many recent approaches utilize them. However, these approaches are less practical due to relying on supervision or other unrealistic assumptions. To overcome their limitations, we propose a more practical root-cause microservice localization approach named TraceRCA. The key insight of TraceRCA is that a microservice with more abnormal and less normal traces passing through it is more likely to be the root cause. Based on it, TraceRCA is composed of trace anomaly detection, suspicious microservice set mining and microservice ranking. We conducted experiments on hundreds of injected faults in a widely-used open-source microservice benchmark and a production system. The results show that TraceRCA is effective in various situations. The top-1 accuracy of TraceRCA outperforms the state-of-the-art unsupervised approaches by 44.8%. Besides, TraceRCA is applied in a large commercial bank, and it helps operators localize root causes for real-world faults accurately and efficiently. We also share some lessons learned from our real-world deployment.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Early research formalized trace structure into spans, parent-child relationships, and identifiers, enabling hierarchical analysis of user requests [71,74]”
From Anomaly detection and root-cause identification in microservices: a survey (2026) · cites this paper as [74]
In the citing paper
“TraceRCA [74], which infers abnormal invocations instead of relying on fixed-length vectors”
From Anomaly detection and root-cause identification in microservices: a survey (2026) · cites this paper as [74]
Citations
Cites
Data mining: concepts and techniques
(2012) · Choice Reviews Online · doi:10.5860/choice.49-3305 · Cited by 28,531
Liu, F. T., Ting, K. M., & Zhou, Z.-H. (2008) · 2008 Eighth IEEE International Conference on Data Mining · doi:10.1109/icdm.2008.17 · Cited by 6,601 · cited 1×
“…cause localization can also be used for trace anomaly detection and achieves the SOTA performance [11]), and the SOTA unsupervised trace-based approach TraceAnomaly (the part of anomaly detection, denoted as TA-AD), and a widely-used unsupervised invocation-based method IF (isolation forest [39]).”
Interestingness measures for data mining: A survey
Geng, L., & Hamilton, H. J. (2006) · ACM Computing Surveys · doi:10.1145/1132960.1132963 · Cited by 1,141 · cited 1×
“2 Then, in the reduced search space, we mine microservice sets satisfying our insight by a unified metric, Jaccard Index (JI) [33].”
Unsupervised Anomaly Detection via Variational Auto-Encoder for Seasonal KPIs in Web Applications
Xu, H., Feng, Y., Chen, J., Wang, Z., Qiao, H., Chen, W., Zhao, N., Li, Z., Bu, J., Li, Z., et al. (2018) · Proceedings of the 2018 World Wide Web Conference on World Wide Web - WWW '18 · doi:10.1145/3178876.3185996 · Cited by 808 · cited 1×
“Small dip or spike could deviate from their last-period normal states insignificantly due to the variation among periods [30].”
Self-citationMicroservices: The Journey So Far and Challenges Ahead
Jamshidi, P., Pahl, C., Mendonca, N. C., Lewis, J., & Tilkov, S. (2018) · IEEE Software · doi:10.1109/ms.2018.2141039 · Cited by 554
Nopol: Automatic Repair of Conditional Statement Bugs in Java Programs
Xuan, J., Martinez, M., DeMarco, F., Clement, M., Marcote, S. L., Durieux, T., Le Berre, D., & Monperrus, M. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2560811 · Cited by 430
Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Li, W., & Ding, D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2887384 · Cited by 410 · cited 4×
“For example, Train-Ticket [22] is organized as many microservices, such as UI , seat , train , station , order , and price .”
InfluentialLe, X. B. D., Lo, D., & Le Goues, C. (2016) · 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2016.76 · Cited by 332 · cited 2×
“Similar insights are widely and successfully used in other domains such as spectrum-based program debugging [14]–[19] and multi-dimensional root cause localization [20], [21].”
Precise Condition Synthesis for Program Repair
Xiong, Y., Wang, J., Yan, R., Zhang, J., Han, S., Huang, G., & Zhang, L. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.45 · Cited by 299
Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Liu, D., Xiang, Q., & He, C. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338961 · Cited by 277 · cited 10×
“We used the following metrics to evaluate its effectiveness following the existing work [7], [11]: • Top-k accuracy (A@ k ) refers to the probability that the root causes are included in the top-k results.”
Influential
Research works printed but not linked: 3
- 2021, GoogleCloudPlatform/microservices-demo, Google Cloud Platform
- ranney, 2016, What i wish i had known before scaling uber to 1000 services, GOTO Chicago 2016
- newman, 2015, Building Microservices Designing Fine-Grained Systems
Cited by
Automatic Root Cause Analysis via Large Language Models for Cloud Incidents
Chen, Y., Xie, H., Ma, M., Kang, Y., Gao, X., Shi, L., Cao, Y., Gao, X., Fan, H., Wen, M., et al. (2024) · Proceedings of the Nineteenth European Conference on Computer Systems · doi:10.1145/3627703.3629553 · Cited by 190
“Moreover, some techniques utilize trace to locate the faulty service [26, 29, 48, 54].”
Eadro: An End-to-End Troubleshooting Framework for Microservices on Multi-source Data
Lee, C., Yang, T., Chen, Z., Su, Y., & Lyu, M. R. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00150 · Cited by 149
“Tremendous efforts [7], [8], [10], [11], [19], [24], [52] have been devoted to root cause localization in microservice or service-oriented systems, most of which rely on traces only and leverage traditional or naive machine learning techniques.”
Self-citationYu, G., Chen, P., Li, Y., Chen, H., Li, X., & Zheng, Z. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616249 · Cited by 140
“Over the years, many metrics-based approaches [6, 26, 35, 62, 64, 65], trace-based approaches [8, 9, 13, 22, 32, 67, 68, 71], and log-based approaches [3, 20, 36, 45, 52, 56] have been devoted to au-”
BackgroundAutomated Root Causing of Cloud Incidents using In-Context Learning with GPT-4
Zhang, X., Ghosh, S., Bansal, C., Wang, R., Ma, M., Kang, Y., & Rajmohan, S. (2024) · Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · doi:10.1145/3663529.3663846 · Cited by 49
“This underscores the superior ability of the GPT-4 models to enhance overall root cause analysis task through the utilization of in-context examples.”
Robust Failure Diagnosis of Microservice System Through Multimodal Data
Zhang, S., Jin, P., Lin, Z., Sun, Y., Zhang, B., Xia, S., Li, Z., Zhong, Z., Ma, M., Jin, W., et al. (2023) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2023.3290018 · Cited by 118
“Most approaches rely on single-modal data, such as traces [1], [4], [5], [6], logs [7], [8], [9], [10], or metrics [11], [12], [13], [14], to capturefailurepatterns.”
BackgroundMethodSelf-citation
Metadata
- Authors
- Li, Z., Chen, J., Jiao, R., Zhao, N., Wang, Z., Zhang, S., Wu, Y., Jiang, L., Yan, L., Wang, Z., Chen, Z., Zhang, W., Nie, X., Sui, K., & Pei, D.
- Affiliations
- Beijing National Research Center for Information Science and Technology (CN)
- Tianjin University (CN)
- ORCID
- Venue
- 2021 IEEE/ACM 29th International Symposium on Quality of Service (IWQOS)
- Publisher
- IEEE
- Published
- 2021-06-25
- Pages
- 1-10
- ISSN
- 1548-615X (ISSN-L)
- OpenAlex
- W3198081460
- Cited by
- 159
- References
- 33
- Citations by year
- 2026: 32 · 2025: 41 · 2024: 41 · 2023: 28 · 2022: 16 · 2021: 1
- FWCI
- 19.85
- Type
- conference paper
- Language
- en
- Open access
- closed
- Licence
- Locations
- International Workshop on Quality of Service (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- root cause localization, microservices, trace analysis, fault diagnosis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.