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.”
InfluentialUnsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks
Liu, P., Xu, H., Ouyang, Q., Jiao, R., Chen, Z., Zhang, S., Yang, J., Mo, L., Zeng, J., Xue, W., et al. (2020) · 2020 IEEE 31st International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre5003.2020.00014 · Cited by 252 · cited 7×
“Unsupervised trace-based approaches [7], [13] utilize traces to improve fault diagnosis.”
InfluentialSelf-citationMicroscope: Pinpoint Performance Issues with Causal Graphs in Micro-service Environments
Lin, J., Chen, P., & Zheng, Z. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-03596-9_1 · Cited by 192 · cited 7×
“Unsupervised trace-based approaches [7], [13] utilize traces to improve fault diagnosis.”
InfluentialCloudRanger: Root Cause Identification for Cloud Native Systems
Wang, P., Xu, J., Ma, M., Lin, W., Pan, D., Wang, Y., & Chen, P. (2018) · 2018 18th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID) · doi:10.1109/ccgrid.2018.00076 · Cited by 181 · cited 6×
“The invocation-based approaches assume that the adjacent microservices with abnormal invocations are more likely to be the root causes [5], [8]–[10], [12].”
InfluentialLeveraging syntax-related code for automated program repair
Xin, Q., & Reiss, S. P. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115676 · Cited by 156
Root cause detection in a service-oriented architecture
Kim, M., Sumbaly, R., & Shah, S. (2013) · ACM SIGMETRICS Performance Evaluation Review · doi:10.1145/2494232.2465753 · Cited by 138
AutoMAP: Diagnose Your Microservice-based Web Applications Automatically
Ma, M., Xu, J., Wang, Y., Chen, P., Zhang, Z., & Wang, P. (2020) · Proceedings of The Web Conference 2020 · doi:10.1145/3366423.3380111 · Cited by 129 · cited 7×
“Over the years, many approaches have been proposed in the field [5]–[12], including invocation-based and trace-based approaches.”
InfluentialTowards highly reliable enterprise network services via inference of multi-level dependencies
Bahl, P., Chandra, R., Greenberg, A., Kandula, S., Maltz, D. A., & Zhang, M. (2007) · ACM SIGCOMM Computer Communication Review · doi:10.1145/1282427.1282383 · Cited by 125
Graph-based trace analysis for microservice architecture understanding and problem diagnosis
Guo, X., Peng, X., Wang, H., Li, W., Jiang, H., Ding, D., Xie, T., & Su, L. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417066 · Cited by 118 · cited 1×
“An industrial microservice sys-tem is commonly equipped with distributed tracing systems, which tracks the execution of a request across services, i.e. , traces [24].”
An Empirical Study of Boosting Spectrum-Based Fault Localization via PageRank
Zhang, M., Li, Y., Li, X., Chen, L., Zhang, Y., Zhang, L., & Khurshid, S. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2911283 · Cited by 84 · cited 3×
“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].”
Performance Monitoring and Root Cause Analysis for Cloud-hosted Web Applications
Jayathilaka, H., Krintz, C., & Wolski, R. (2017) · Proceedings of the 26th International Conference on World Wide Web · doi:10.1145/3038912.3052649 · Cited by 79
Root Cause Analysis of Anomalies of Multitier Services in Public Clouds
Weng, J., Wang, J. H., Yang, J., & Yang, Y. (2018) · IEEE/ACM Transactions on Networking · doi:10.1109/tnet.2018.2843805 · Cited by 79
A provider-side view of web search response time
Chen, Y., Mahajan, R., Sridharan, B., & Zhang, Z.-L. (2013) · ACM SIGCOMM Conference (SIGCOMM) · doi:10.1145/2486001.2486035 · Cited by 70 · cited 1×
“For a feature of a specific microservice pair (denoted as f ), we use the mean and standard deviation of the historical invocations to model its normal state, which has been proved to be effective and is widely used in previous works [20], [25]– [29].”
iDice: problem identification for emerging issues
Lin, Q., Lou, J.-G., Zhang, H., & Zhang, D. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884795 · Cited by 66
Failure Diagnosis for Distributed Systems using Targeted Fault Injection
Pham, C., Wang, L., Tak, B., Baset, S., Tang, C., Kalbarczyk, Z., & Iyer, R. (2016) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2016.2575829 · Cited by 65 · cited 1×
“Some approaches [11], [40] utilize historical faults or injected faults to build a supervised algorithm.”
MS-Rank: Multi-Metric and Self-Adaptive Root Cause Diagnosis for Microservice Applications
Ma, M., Lin, W., Pan, D., & Wang, P. (2019) · 2019 IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws.2019.00022 · Cited by 58 · cited 2×
“…while using the anomaly severity of each microservice pair as weights because these previous approaches based on RW either only handles single metric ( [5], [8], [10]) or relies on user participation ( [9], [12]), which makes it unrealistic to use correlations with the alerting metric as weights.”
Combining Spectrum-Based Fault Localization and Statistical Debugging: An Empirical Study
Jiang, J., Wang, R., Xiong, Y., Chen, X., & Zhang, L. (2019) · 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00054 · Cited by 55
Delta debugging microservice systems
Zhou, X., Peng, X., Xie, T., Sun, J., Li, W., Ji, C., & Ding, D. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3240730 · Cited by 43 · cited 1×
“1) Open-source Microservice System: Train-Ticket [22] is one of the largest open-source microservice systems, which has been widely used in the existing work [11], [22], [35], [36].”
Threshold compression for 3G scalable monitoring
Lee, S.-B., Pei, D., Hajiaghayi, M., Pefkianakis, I., Lu, S., Yan, H., Ge, Z., Yates, J. M., & Kosseifi, M. (2012) · IEEE Conference on Computer Communications (INFOCOM) · doi:10.1109/infcom.2012.6195498 · Cited by 32 · cited 1×
“For a feature of a specific microservice pair (denoted as f ), we use the mean and standard deviation of the historical invocations to model its normal state, which has been proved to be effective and is widely used in previous works [20], [25]– [29].”
Self-citationAhmed, F., Erman, J., Ge, Z., Liu, A. X., Wang, J., & Yan, H. (2017) · IEEE/ACM Transactions on Networking · doi:10.1109/tnet.2017.2761758 · Cited by 29 · 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].”
Lightweight and Adaptive Service API Performance Monitoring in Highly Dynamic Cloud Environment
Xu, J., Wang, Y., Chen, P., & Wang, P. (2017) · 2017 IEEE International Conference on Services Computing (SCC) · doi:10.1109/scc.2017.80 · Cited by 28
A methodology for root-cause analysis in component based systems
Wang, K., Fung, C., Ding, C. Y., Pei, P., Huang, S., Luan, Z., & Qian, D. (2015) · International Workshop on Quality of Service · doi:10.1109/iwqos.2015.7404741 · Cited by 17 · cited 2×
“Besides, we compared TraceRCA with two SOTA invocation-based unsupervised approaches, RCSF [6] and Random Walk (RW) [5], [8]– [10], [12].”
Unleashing the Scalability Potential of Power-Constrained Data Center in the Microservice Era
Hou, X., Liu, J., Li, C., & Guo, M. (2019) · Proceedings of the International Conference on Parallel Processing · doi:10.1145/3337821.3337857 · Cited by 16 · cited 1×
“1) Open-source Microservice System: Train-Ticket [22] is one of the largest open-source microservice systems, which has been widely used in the existing work [11], [22], [35], [36].”
Fast Dimensional Analysis for Root Cause Investigation in a Large-Scale Service Environment
Lin, F., Muzumdar, K., Laptev, N., Curelea, M.-V., Lee, S., & Sankar, S. (2020) · ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS) · doi:10.1145/3393691.3394185 · Cited by 13
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.