Unsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks
Authors:
Top Cited Papers
- 1 October 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 48-58
Abstract
The anomalies of microservice invocation traces (traces) often indicate that the quality of the microservice-based large software service is being impaired. However, timely and accurately detecting trace anomalies is very challenging due to: 1) the large number of underlying microservices, 2) the complex call relationships between them, 3) the interdependency between the response times and invocation paths. Our core idea is to use machine learning to automatically learn the overall normal patterns of traces during periodic offline training. In online anomaly detection, a new trace with a small anomaly score (computed based on the learned normal pattern) is considered anomalous. With our novel trace representation and the design of deep Bayesian networks with posterior flow, our unsupervised anomaly detection system, called TraceAnomaly, can accurately and robustly detect trace anomalies in a unified fashion. TraceAnomaly has been deployed on 18 online services in a company S. Detailed evaluations on four large online services which contain hundreds of microservices and a testbed which contains 41 microservices show that the recall and precision of TraceAnomaly are both above 0.97, outperforming the existing approach in S (hard-coded rule) by 19.6% and 7.1%, and seven other baselines by 57.0% and 41.6% on average.Keywords
Funding Information
- National Natural Science Foundation of China
- China Postdoctoral Science Foundation
- Research and Development
- Science and Technology Planning Project of Guangdong Province
This publication has 29 references indexed in Scilit:
- CloudSeer2016
- A methodology for root-cause analysis in component based systems2015
- MicroservicesIEEE Software, 2015
- A provider-side view of web search response timeACM SIGCOMM Computer Communication Review, 2013
- Root cause detection in a service-oriented architectureACM SIGMETRICS Performance Evaluation Review, 2013
- Argus: End-to-end service anomaly detection and localization from an ISP's point of view2012
- Combining filtering and statistical methods for anomaly detection2005
- Network anomography2005
- Sketch-based change detection2003
- Non-Parametric Estimation of a Multivariate Probability DensityTheory of Probability & Its Applications, 1969