Graph-based Incident Aggregation for Large-Scale Online Service Systems

Zhuangbin Chen, Jinyang Liu, Yuxin Su, Hongyu Zhang, Xuemin Wen, Xiao Ling, Yongqiang Yang, Michael R. Lyu · DOI

TL;DR

This paper introduces GRLIA, a novel framework for automatically aggregating related incidents in large-scale online service systems. By leveraging graph representation learning on failure impact graphs, GRLIA effectively reduces incident noise and improves root cause analysis, outperforming existing methods.

What Problem Does This Paper Address?

Modern IT enterprises rely heavily on large-scale online service systems (like cloud platforms). When failures occur in these complex systems, they can cascade, triggering a deluge of alerts and incidents from various dependent services. This "alert storm" overwhelms engineers, making it difficult and time-consuming to identify the root cause of the problem. Existing incident management systems struggle with this sheer volume and the fact that related incidents often have dissimilar textual descriptions and that some services might not report incidents due to fault tolerance mechanisms, leading to incomplete views of failure impact. The paper aims to address this by providing an automated way to group these scattered incidents into meaningful clusters that represent a single underlying failure.

Methods

GRLIA employs a four-phase framework:

  1. Service Failure Detection: This phase uses Extreme Value Theory (EVT) to detect bursts of incidents, signaling the occurrence of a service failure. This method is self-adaptive and doesn't require fixed thresholds, making it robust to the dynamic nature of cloud systems.
  2. Failure-Impact Graph Completion: A key innovation is addressing the issue of incomplete failure impact graphs. GRLIA combines incident data with Key Performance Indicators (KPIs) to infer the full scope of a failure's impact. It uses community detection algorithms (specifically the Louvain algorithm) on a graph where nodes are services and edge weights represent behavioral similarity (derived from both incident similarity and KPI trend similarity). This helps identify incidents that should be related but might not have been reported.
  3. Graph-based Incident Representation Learning: Instead of learning embeddings for system components, GRLIA learns embeddings for incident types. This is done using DeepWalk, a graph representation learning technique, on the completed failure-impact graphs. The learned embeddings capture both temporal and topological correlations among incidents in an unsupervised manner.
  4. Online Incident Aggregation: Once incident embeddings are learned, aggregation is performed by calculating the similarity between new incidents and existing ones. This similarity considers both historical closeness (based on embeddings) and topological distance. A predefined threshold determines if two incidents are correlated and should be grouped.

Datasets

The experiments were conducted using real-world incident data collected from the Networking service of Huawei Cloud. This dataset spans six months and includes a large number of distinct incident types. The data was split into training and evaluation sets, with incident aggregation applied to failures in the evaluation month based on representations learned from previous months.

Key Insights and Ideas

  • Completing the Failure-Impact Graph is Crucial: The paper strongly emphasizes that simply relying on reported incidents is insufficient. By incorporating KPI data and using community detection, GRLIA can infer the full impact of a failure, which is essential for accurate correlation.
  • Incident Embeddings, Not Component Embeddings: Learning representations for incident types rather than system components is a novel approach that directly addresses the problem of incident correlation.
  • Unsupervised Learning for Robustness: The use of unsupervised graph representation learning makes the framework adaptable to dynamic cloud environments and avoids the need for extensive manual labeling for training.
  • KPIs as a Bridge for Silent Services: KPIs are vital for bridging the gap where services might not report incidents due to fault tolerance, allowing for a more comprehensive understanding of failure propagation.

Key Results

  • Service Failure Detection: GRLIA's failure detection module significantly outperformed a fixed thresholding baseline, achieving F1 scores above 0.93 across multiple datasets.
  • Incident Aggregation: GRLIA achieved superior incident aggregation performance, with NMI scores ranging from 0.831 to 0.912, outperforming baseline methods like FP-Growth, UHAS, and LiDAR.
  • Necessity of Impact Graph Completion: A variant of GRLIA without the failure-impact graph completion phase showed a noticeable drop in NMI scores, highlighting the importance of this step.
  • Practical Deployment: The framework has been successfully deployed in Huawei Cloud's incident management system, with on-site engineers reporting significant benefits in reducing investigation scope and accelerating incident management.
  • Time Reduction: The deployment led to a reduction in average failure handling time, with rates of 24.8%, 21.9%, and 18.6% compared to previous months.

Limitations and Future Work

  • Threats to Validity: The authors acknowledge potential threats including labeling noise during manual annotation, the selection of a single online service (Networking service) for evaluation, and the choice of six representative KPIs. They argue these threats are mitigated by using experienced engineers, the generalizability of the chosen service, and the representativeness of the selected KPIs.
  • Parameter Sensitivity: While the paper states GRLIA is not very sensitive to parameter settings, optimal parameter tuning is always a consideration.
  • Future Work: The paper suggests optimizing monitor configurations to report more important incidents and fewer trivial ones. It also highlights the need for robust data collection pipelines and efficient data storage/querying mechanisms for handling the massive volume of telemetry data in cloud systems. The authors also mention the potential for retraining the model quickly if the system topology undergoes significant alteration.

Summary updated

BibTeX
@inproceedings{chen2021graph,
  author = {Zhuangbin Chen and Jinyang Liu and Yuxin Su and Hongyu Zhang and Xuemin Wen and Xiao Ling and Yongqiang Yang and Michael R. Lyu},
  title = {{Graph-based Incident Aggregation for Large-Scale Online Service Systems}},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678746},
}
Figure