行业如何处理运行时异常:方法与关键监控参数
How Industry Tackles Anomalies during Runtime: Approaches and Key Monitoring Parameters
AI总结:
该研究通过对15名行业从业者的半结构化访谈和工业场景异常检测文献综述,梳理了运行时软件异常的多元定义与实例,分析了行业偏好规则式检测而非自研AI方法的原因,并明确了日志、链路追踪、指标三类核心监控参数。
摘要:
运行期间偏离预期行为的情况被称为异常,由于系统的复杂性,尤其是微服务系统的复杂性,这类异常已变得愈发常见。相应地,由于收集的数据量庞大,分析日志、微服务链路追踪(traces)、指标等运行时监控数据颇具挑战性。要开发有效的规则或AI算法,需要对这类数据有深入理解,才能可靠地检测出不可预见的异常。本文旨在理解不同工业领域中的异常概念,以及当前的异常检测方法,同时明确通过运行时监控数据识别异常所需的关键参数。\n为此,我们对15名在工作中依赖运行时异常检测的行业从业者开展了半结构化访谈;为补充访谈信息,我们还针对应用于工业真实数据集的异常检测方法进行了文献综述。\n本文的贡献包括:(1)阐明了运行时软件异常的多种解读与实例;(2)探究了行业中选择基于规则的方法而非自研AI方法的背后原因——近三年来,基于AI的方法在已发表的工业相关论文中已成为主流;(3)确定了运行时收集的三类关键监控参数(日志、链路追踪、指标),这些参数可帮助从业者检测运行时异常,同时不会因参数不明确给异常检测方法引入偏差。
英文摘要:
Deviations from expected behavior during runtime, known as anomalies, have become more common due to the systems' complexity, especially for microservices. Consequently, analyzing runtime monitoring data, such as logs, traces for microservices, and metrics, is challenging due to the large volume of data collected. Developing effective rules or AI algorithms requires a deep understanding of this data to reliably detect unforeseen anomalies. This paper seeks to comprehend anomalies and current anomaly detection approaches across diverse industrial sectors. Additionally, it aims to pinpoint the parameters necessary for identifying anomalies via runtime monitoring data. Therefore, we conducted semi-structured interviews with fifteen industry participants who rely on anomaly detection during runtime. Additionally, to supplement information from the interviews, we performed a literature review focusing on anomaly detection approaches applied to industrial real-life datasets. Our paper (1) demonstrates the diversity of interpretations and examples of software anomalies during runtime and (2) explores the reasons behind choosing rule-based approaches in the industry over self-developed AI approaches. AI-based approaches have become prominent in published industry-related papers in the last three years. Furthermore, we (3) identified key monitoring parameters collected during runtime (logs, traces, and metrics) that assist practitioners in detecting anomalies during runtime without introducing bias in their anomaly detection approach due to inconclusive parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。