应用程序远程监控的可扩展统计根本原因分析
Scalable Statistical Root Cause Analysis on App Telemetry
摘要:
尽管工程工作流程旨在防止错误代码被部署,但错误仍然会进入Facebook应用程序。当报告这些错误的症状时,例如用户提交的报告和自动捕获的崩溃,找到其根本原因是解决问题的重要一步。然而,在Facebook数十亿用户的规模下,根据软件部署的各种用户和执行环境,单个错误可以表现为几种不同的症状。因此,根本原因分析(RCA)需要繁琐的人工调查和领域专业知识,以提取出在报告组中观察到的常见模式,并将其用于调试。我们提出扫雷,RCA的一种技术,走向自动识别错误的根本原因,从他们的症状。该方法基于两个关键方面:(i)可扩展的算法,以有效地从与报告一起收集的遥测信息中挖掘模式,以及(ii)有助于指向根本原因的模式的精确度和召回率的统计概念。我们评估了扫雷的可扩展性和有效性,从现实世界的bug和Facebook应用程序的崩溃报告中找到根本原因。我们的评估表明,Minesweeper可以在不到3分钟的时间内对数万份报告执行RCA,并且在识别回归的根本原因方面的准确率超过85%。
英文摘要:
Despite engineering workflows that aim to prevent buggy code from being deployed, bugs still make their way into the Facebook app. When symptoms of these bugs, such as user submitted reports and automatically captured crashes, are reported, finding their root causes is an important step in resolving them. However, at Facebook's scale of billions of users, a single bug can manifest as several different symptoms according to the various user and execution environments in which the software is deployed. Root cause analysis (RCA) therefore requires tedious manual investigation and domain expertise to extract out common patterns that are observed in groups of reports and use them for debugging. We propose Minesweeper, a technique for RCA that moves towards automatically identifying the root cause of bugs from their symptoms. The method is based on two key aspects: (i) a scalable algorithm to efficiently mine patterns from telemetric information that is collected along with the reports, and (ii) statistical notions of precision and recall of patterns that help point towards root causes. We evaluate Minesweeper's scalability and effectiveness in finding root causes from symptoms on real world bug and crash reports from Facebook's apps. Our evaluation demonstrates that Minesweeper can perform RCA for tens of thousands of reports in less than 3 minutes, and is more than 85% accurate in identifying the root cause of regressions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。