HeMiRCA: Fine-Grained Root Cause Analysis for Microservices with Heterogeneous Data Sources

Author:

Zhu Zhouruixing1ORCID,Lee Cheryl2ORCID,Tang Xiaoying1ORCID,He Pinjia3ORCID

Affiliation:

1. The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen), China

2. The Chinese University of Hong Kong (CUHK), China

3. The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen), China; Shenzhen Research Institute of Big Data, China

Abstract

Microservices architecture improves software scalability, resilience, and agility but also poses significant challenges to system reliability due to their complexity and dynamic nature. Identifying and resolving anomalies promptly is crucial because they can quickly propagate to other microservices and cause severe damage to the system. Existing root-cause metric localization approaches rely on metrics or metrics-anomalies correlations but overlook other monitoring data sources ( e.g. , traces). We are the first to identify and leverage the anomaly-aware monotonic correlation between heterogeneous monitoring data, motivated by which we propose a novel framework, HeMiRCA , for hierarchical root cause analysis using Spearman correlation. HeMiRCA is based on the key observation that the microservice responsible for a particular type of fault exhibits a monotonic correlation between the trends of its associated metrics and the trace-based anomaly score of the system. HeMiRCA first calculates time-series anomaly scores using traces and then exploits the correlations between multivariate metrics and the scores to rank the suspicious metrics and microservices. HeMiRCA has been evaluated on two datasets collected from widely used microservice systems. The results show that HeMiRCA outperforms the state-of-the-art approaches by a large margin in identifying root causes at both service level and metric level, achieving a top-1 hit ratio of 82.7% and 74% on average, respectively.

Publisher

Association for Computing Machinery (ACM)

Reference57 articles.

1. Hervé Abdi. 2007. The Kendall rank correlation coefficient. Encyclopedia of Measurement and Statistics. Sage, Thousand Oaks, CA (2007), 508–510.

2. Alibaba. 2023. Chaosblade. https://github.com/chaosblade-io/chaosblade

3. Jinwon An and Sungzoon Cho. 2015. Variational autoencoder based anomaly detection using reconstruction probability. Special lecture on IE 2, 1 (2015), 1–18.

4. Cristian S Calude and Giuseppe Longo. 2017. The deluge of spurious correlations in big data. Foundations of science 22 (2017), 595–612.

5. Pathidea: Improving information retrieval-based bug localization by re-constructing execution paths using logs;Chen An Ran;IEEE Transactions on Software Engineering,2021

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3