Fine-grained fault diagnosis of microservices based on Hidden Markov Model and Granger
Fault diagnosis in microservice systems is increasingly challenging due to the complexity of service dependencies and the dynamic nature of runtime environments. Traditional techniques often struggle to accurately locate root causes and capture the paths of fault propagation across layers. To address this, we propose a fine-grained diagnosis approach that combines Hidden Markov Models (HMM) for modeling latent service states with Granger causality analysis for uncovering inter-service causal relationships. Our method enables both precise root cause localization and reconstruction of fault propagation paths. Extensive experiments in controlled and real-world environments show that the proposed framework achieves $91 \%$ accuracy, 88% precision, 87% recall, 87% F1-score, and an average diagnosis time of 87 seconds. These results demonstrate that our approach significantly improves the accuracy and efficiency of fault diagnosis in complex microservice architectures.
Authors
- Zheheng Liang (ORCID: https://orcid.org/0009-0007-7656-2092)
- Maojun Zheng (ORCID: https://orcid.org/0000-0002-5072-1952)
- Liao Xie
- Yechao Wang (ORCID: https://orcid.org/0009-0002-0044-8166)
- Jinbo Zhang (ORCID: https://orcid.org/0000-0002-1079-249X)
- Shuo Li (ORCID: https://orcid.org/0009-0008-7794-4356)
- Jiangyan Cui (ORCID: https://orcid.org/0009-0003-8121-144X)
- G. M. Zhou
- Y. W. Hou (ORCID: https://orcid.org/0000-0003-3891-5145)
Institutions
- Chinese Academy of Sciences (CN)
- Institute of Software (CN)
- China Southern Power Grid (China) (CN)
Publication Details
- Published
- 2025-05-09
- DOI
- https://doi.org/10.1109/aemcse65292.2025.11042539
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Chinese Academy of Sciences