MetaRCA: 一种基于元因果知识的云原生系统通用根本原因分析框架
MetaRCA: A Generalizable Root Cause Analysis Framework for Cloud-Native Systems Powered by Meta Causal Knowledge
AI总结:
MetaRCA通过构建元因果图并结合大规模语言模型等知识,实现了云原生系统中高效准确的根本原因分析。
摘要:
云原生系统动态性和复杂性给根本原因分析(RCA)带来了重大挑战。尽管基于因果的RCA方法近年来取得了显著进展,但其实际应用受到三个相互关联的挑战的限制:在系统复杂性面前缺乏可扩展性、在不同系统拓扑结构上的脆弱泛化能力,以及对领域知识的整合不足。这些限制形成了恶性循环,阻碍了稳健高效RCA解决方案的发展。本文介绍了一种适用于云原生系统的通用RCA框架MetaRCA。MetaRCA首先离线构建一个元因果图(MCG),这是一个在元数据层面定义的可重用知识库。为了构建MCG,我们提出了一种证据驱动的算法,系统地融合了大型语言模型(LLMs)、历史故障报告和可观测性数据的知识。当发生故障时,MetaRCA通过动态将MCG实例化为局部图来执行轻量级的在线推理,基于当前上下文,并利用实时数据对因果链接进行加权和修剪以实现精确的根本原因定位。在252个公共故障和59个生产故障上进行评估,MetaRCA展示了最先进的性能。它在服务级别和指标级别准确率上分别超过了最强基线29个百分点和48个百分点。随着系统复杂性的增加,这种性能优势不断扩大,其开销几乎线性增长。关键的是,MetaRCA在跨系统泛化方面表现出鲁棒性,在多样化的系统中保持超过80%的准确性。
英文摘要:
The dynamics and complexity of cloud-native systems present significant challenges for Root Cause Analysis (RCA). While causality-based RCA methods have shown significant progress in recent years, their practical adoption is fundamentally limited by three intertwined challenges: poor scalability against system complexity, brittle generalization across different system topologies, and inadequate integration of domain knowledge. These limitations create a vicious cycle, hindering the development of robust and efficient RCA solutions. This paper introduces MetaRCA, a generalizable RCA framework for cloud-native systems. MetaRCA first constructs a Meta Causal Graph (MCG) offline, a reusable knowledge base defined at the metadata level. To build the MCG, we propose an evidence-driven algorithm that systematically fuses knowledge from Large Language Models (LLMs), historical fault reports, and observability data. When a fault occurs, MetaRCA performs a lightweight online inference by dynamically instantiating the MCG into a localized graph based on the current context, and then leverages real-time data to weight and prune causal links for precise root cause localization. Evaluated on 252 public and 59 production failures, MetaRCA demonstrates state-of-the-art performance. It surpasses the strongest baseline by 29 percentage points in service-level and 48 percentage points in metric-level accuracy. This performance advantage widens as system complexity increases, with its overhead scaling near-linearly. Crucially, MetaRCA shows robust cross-system generalization, maintaining over 80% accuracy across diverse systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。