引用本文:陈淼,张弼铖,张晨曦,彭鑫,杨定裕,李伟,钱泽林,吴哲顺,欧嘉煜,钟坚锐.基于图表示学习的在线服务系统告警聚类方法.软件学报,,():1-21
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 510次   下载 143 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于图表示学习的在线服务系统告警聚类方法
陈淼1,2, 张弼铖1,2, 张晨曦3, 彭鑫1,2, 杨定裕4, 李伟5, 钱泽林5, 吴哲顺5, 欧嘉煜5, 钟坚锐5
1.复旦大学 计算与智能创新学院, 上海 200438;2.上海市数据科学重点实验室(复旦大学), 上海 200438;3.西安电子科技大学 计算机科学与技术学院, 陕西 西安 710126;4.区块链与数据安全全国重点实验(浙江大学), 浙江 杭州 310027;5.阿里巴巴控股集团, 浙江 杭州 310023
摘要:
在大型在线服务系统中, 由于各组件间错综复杂的依赖关系, 故障的发生常会引发大量相关告警, 形成告警风暴. 告警风暴不仅增加了值班工程师的工作负担, 也使得故障诊断和根因分析变得更加困难. 为了解决这一问题, 提出了Alert-CM, 一种基于图表示学习的告警聚类方法, 将由同一故障引发的告警有效地聚类在一起, 从而减轻工程师的工作负担. 在告警管理过程中, 一条告警往往由故障发生时的多种底层系统数据共同汇总得到, 如异常相关应用、指标、日志、预警规则和应急场景等. Alert-CM认为由同一个故障引发的多个告警通常在底层系统数据层面存在紧密关联, 并且当中的底层核心系统数据将更能代表当前告警对应的系统异常状态. 根据这一核心思想, Alert-CM基于告警相关配置数据构建出细粒度的系统数据依赖图, 并将告警与图中各节点的依赖关系进行抽象和映射, 进一步扩展告警的特征空间. 基于系统数据依赖图, Alert-CM搭建了图神经网络模型进行图表示学习, 挖掘核心底层系统数据对于告警的贡献强弱, 从而输出准确的告警向量表示. 最终, Alert-CM使用DBSCAN算法实现告警聚类. 在真实工业数据集上对Alert-CM进行评估, 重点考察聚类的有效性和实时效率. 实验结果表明, Alert-CM在告警聚类任务中的表现显著优于传统的告警聚合方法. 在评估中, Alert-CM的NMI和ARI分别达到了 0.901 和 0.645, 相较于现有方法的平均值分别提升 31.7% 和 153.9%, 同时Alert-CM在在线实时聚类任务上也表现出良好的性能.
关键词:  告警  聚类  图表示学习  图神经网络
DOI:10.13328/j.cnki.jos.007612
分类号:TP311
基金项目:
Alert Clustering Method Based on Graph Representation Learning for Online Service Systems
CHEN Miao1,2, ZHANG Bi-Cheng1,2, ZHANG Chen-Xi3, PENG Xin1,2, YANG Ding-Yu4, LI Wei5, QIAN Ze-Lin5, WU Zhe-Shun5, OU Jia-Yu5, ZHONG Jian-Rui5
1.College of Computer Science and Artificial Intelligence, Fudan University, Shanghai 200438, China;2.Shanghai Key Laboratory of Data Science (Fudan University), Shanghai 200438, China;3.School of Computer Science and Technology, Xidian University, Xi’an 710126, China;4.National Key Laboratory of Blockchain and Data Security (Zhejiang University), Hangzhou 310027, China;5.Alibaba Group, Hangzhou 310023, China
Abstract:
In large-scale online service systems, intricate dependencies among components often cause a single fault to trigger a massive number of correlated alerts, resulting in alert storms. Alert storms not only increase the workload of on-call engineers but also make fault diagnosis and root cause analysis more challenging. To address this issue, this study proposes Alert-CM, a graph representation learning-based alert clustering method that effectively groups alerts caused by the same fault, thereby alleviating engineers’ workloads. In alert management, an alert is typically generated by aggregating various types of underlying system data at the time of a fault, including related applications, metrics, logs, alert rules, and emergency scenarios. Alert-CM assumes that multiple alerts triggered by the same fault usually exhibit tight correlations at the underlying system data level, and that the core underlying system data better represents the abnormal system state associated with the alerts. Based on this assumption, Alert-CM constructs a fine-grained system data dependency graph using alert-related configuration data, abstracting and mapping the dependency relationships between alerts and graph nodes to further expand the alert feature space. On top of the system data dependency graph, a graph neural network model is built to perform graph representation learning, in which the contributions of core underlying system data to alerts are automatically learned, producing accurate alert vector representations. Finally, the DBSCAN algorithm is applied to cluster alerts based on the learned representations. Alert-CM is evaluated on a real-world industrial dataset, with a focus on clustering effectiveness and real-time efficiency. The experimental results demonstrate that Alert-CM significantly outperforms traditional alert aggregation methods in alert clustering tasks. Specifically, Alert-CM achieves an NMI of 0.901 and an ARI of 0.645, corresponding to average improvements of 31.7% and 153.9% over existing methods, respectively. In addition, Alert-CM exhibits strong performance in online real-time clustering tasks.
Key words:  alert  clustering  graph representation learning  graph neural network (GNN)