RCAEval: A Benchmark for Root Cause Analysis of Microservice Systems with Telemetry Data

Luan Pham, Hongyu Zhang, Huong Ha, Flora D. Salim, Xiuzhen Zhang

Introduction

In modern cloud-native architectures, microservice systems offer scalability and flexibility but introduce significant complexity in troubleshooting. When a failure occurs, identifying the "root cause" across hundreds of interdependent services is a daunting task. While numerous Root Cause Analysis (RCA) methods have been proposed, the field faces a "reproducibility crisis." Most existing tools are evaluated on small, private datasets or simplistic simulations that fail to capture the intricacies of real-world production environments.

RCAEval is introduced as a comprehensive, open-source benchmark designed to standardize RCA evaluation. It provides a "level playing field" for researchers by offering large-scale datasets with diverse failure cases and a robust framework for reproducible benchmarking.

The RCAEval Framework

The RCAEval framework is built on two primary pillars: a standardized data collection pipeline and a comprehensive evaluation library.

Overview of the RCAEval benchmark, illustrating the relationship between large-scale datasets and the evaluation framework.

The framework supports both coarse-grained RCA (identifying the faulty service) and fine-grained RCA (pinpointing specific metrics or code-level issues). It includes a library of 15 state-of-the-art RCA baselines, categorized into metric-based (e.g., CausalRCA, CIRCA), trace-based (e.g., TraceRCA, MicroRank), and multi-source methods (e.g., PDiagnose, BARO).

Data Collection and Experimental Setup

To generate realistic telemetry data, the authors deployed three widely recognized microservice systems—Online Boutique, Sock Shop, and Train Ticket—on Kubernetes clusters. The Train Ticket system is particularly noteworthy for its scale, comprising 64 distinct services.

The experimental setup within a Kubernetes cluster, showing load generation, fault injection, and the collection of multi-source telemetry data.

As shown in the setup, the pipeline involves:

  1. Load Generation: Simulating user traffic to the front-end.
  2. Fault Injection: Introducing 11 different types of faults (e.g., CPU hog, memory leaks, network delays) into specific services.
  3. Telemetry Collection: Using industry-standard tools like Prometheus (metrics), Loki (logs), and Jaeger (traces) to capture the system's response to these faults.

Benchmark Datasets

RCAEval introduces three distinct datasets, totaling 735 failure cases:

  • RE1 (Metric-focused): Contains 375 cases focusing on resource-related faults such as CPU, Memory, and Disk usage.
  • RE2 (Multi-source): Comprises 270 cases providing a holistic view with metrics, logs, and traces. This dataset includes complex "Socket" faults.
  • RE3 (Code-level): Features 90 cases specifically targeting code-level bugs, such as incorrect parameters or missing exception handlers. This is the first benchmark dataset to explicitly cover such fine-grained failures in microservices.

Key Insights and Results

Preliminary evaluations on the large-scale Train Ticket system (RE2 dataset) revealed several critical insights:

  • The Specialization Gap: Many existing RCA tools are highly specialized. For instance, the BARO method achieved perfect accuracy (1.0) on DISK faults but struggled with network DELAY (0.63 Avg@5).
  • The Power of Traces: TraceRCA emerged as a strong performer, with an overall Average@5 score of 0.77, often outperforming more complex causal models based solely on metrics.
  • The Importance of Logs: Logs are frequently the only source of "stack traces" necessary for diagnosing the code-level failures present in the RE3 dataset.
  • Scalability Challenges: Methods that perform well on small systems often fail to scale to the 64-service complexity of the Train Ticket system, highlighting the need for large-scale benchmarks like RCAEval.

Conclusion and Future Directions

RCAEval addresses the critical need for standardization in microservice root cause analysis. By providing diverse, large-scale datasets and a reproducible evaluation framework, it enables fair comparison and accelerates the development of more robust diagnostic tools.

Future work will focus on developing "holistic" RCA solutions that can dynamically integrate metrics, logs, and traces. Additionally, the authors plan to expand the benchmark to include "gray failures"—partial, subtle failures that are notoriously difficult to detect and diagnose in production environments.

The complete benchmark is available at: https://github.com/phamquiluan/RCAEval

Summary updated

BibTeX
@inproceedings{pham2024rcaeval,
  author = {Luan Pham and Hongyu Zhang and Huong Ha and Flora D. Salim and Xiuzhen Zhang},
  title = {{RCAEval: A Benchmark for Root Cause Analysis of Microservice Systems with Telemetry Data}},
  booktitle = {Companion Proceedings of the ACM on Web Conference},
  year = {2024},
  url = {https://openreview.net/forum?id=qHaowcDTzP},
}
Figure