首页> 外文会议>IEEE International Symposium on Software Reliability Engineering >Unsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks
【24h】

Unsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks

机译:通过服务级深度贝叶斯网络的无监督微服务跟踪异常检测

获取原文

摘要

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.
机译:微服务调用跟踪(跟踪)的异常通常表明基于微服务的大型软件服务的质量受到了损害。但是,由于以下原因,及时准确地检测跟踪异常非常具有挑战性:1)大量底层微服务; 2)它们之间的复杂调用关系; 3)响应时间与调用路径之间的相互依赖性。我们的核心思想是使用机器学习在定期的离线培训期间自动学习轨迹的总体正常模式。在在线异常检测中,具有较小异常分数(基于学习的正常模式进行计算)的新迹线被认为是异常的。通过我们新颖的轨迹表示和具有后向流动的深贝叶斯网络的设计,我们的无监督异常检测系统TraceAnomaly可以以统一的方式准确,可靠地检测轨迹异常。 TraceAnomaly已在S公司的18个在线服务上进行了部署。对包含数百个微服务的四个大型在线服务和包含41个微服务的测试平台的详细评估表明,TraceAnomaly的召回率和精度均高于0.97,优于现有方法。 S(硬编码规则)分别降低了19.6%和7.1%,其他七个基线平均降低了57.0%和41.6%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号