Eadro: An End-to-End Troubleshooting Framework for Microservices on Multi-source Data

Cheryl Lee, Tianyi Yang, Zhuangbin Chen, Yuxin Su, Michael R. Lyu

Introduction

Modern cloud-native applications are increasingly built on microservice architectures, which offer scalability and flexibility at the cost of extreme operational complexity. When a failure occurs, identifying the root cause is akin to finding a "needle in a haystack." Traditional troubleshooting relies on three primary data sources: Traces (request paths), Logs (textual events), and KPIs (performance metrics like CPU and memory usage). However, existing tools often struggle because they treat these data sources in isolation or decouple the detection of an anomaly from the localization of its root cause.

This paper introduces Eadro, a novel end-to-end framework designed to bridge these gaps. By integrating anomaly detection and root cause localization into a single multi-task learning model, Eadro leverages the complementary strengths of traces, logs, and metrics to achieve state-of-the-art performance in microservice reliability.

The Challenges of Modern Troubleshooting

The authors identify two fundamental limitations in current microservice monitoring research:

  1. Data Silos: Most existing tools are heavily biased toward a single data type, usually traces. However, certain faults are invisible in specific modalities. For instance, a CPU exhaustion event might not immediately impact request latency (trace) but is glaringly obvious in system metrics (KPIs). Conversely, network-level issues might be absent from local service logs but clearly visible in trace spans.
  2. Task Disconnection: Traditionally, anomaly detection (identifying that a problem exists) and root cause localization (identifying where the problem is) are treated as independent, sequential steps. This creates a "cascading failure" in the troubleshooting pipeline: if the detector produces a false alarm or a noisy signal, the localizer—which depends on that signal—will inevitably fail to find the correct culprit.

The Eadro Framework

Eadro addresses these challenges through a sophisticated three-phase architecture that processes multi-modal data through a unified graph-based representation.

1. Modal-wise Learning

Rather than treating all data as generic time series, Eadro employs specialized encoders for each source:

  • Logs: Uses a Hawkes process to model the discrete arrival rates and temporal dependencies of log events.
  • KPIs and Traces: Utilizes Dilated Causal Convolutions (DCC) combined with self-attention mechanisms to extract complex temporal patterns from continuous metrics and request latencies.

2. Dependency-aware Status Learning

To capture how failures propagate through a system, Eadro constructs a dependency graph based on historical trace data. It fuses the multi-modal features using Gated Linear Units (GLU) to filter out irrelevant noise. These fused representations are then processed by a Graph Attention Network (GAT), allowing the model to learn the health status of a service by considering both its local data and the status of its upstream and downstream neighbors.

3. Joint Detection and Localization

The core innovation of Eadro is its multi-task learning objective. By training the anomaly detector and the root cause localizer simultaneously, the model learns a shared representation of "system health." This joint optimization makes the localization phase significantly more robust to the inherent noise of real-world monitoring data.

Experimental Evaluation

The authors evaluated Eadro on two prominent microservice benchmarks: TrainTicket (TT), a large-scale system with 41 microservices, and SocialNetwork (SN), a broadcast-style social media application. Because existing public datasets lacked comprehensive multi-source data, the authors deployed these systems and injected various faults—including CPU exhaustion, network jams, and packet loss—to create a new, high-fidelity "triple-source" dataset.

Key Results

Eadro demonstrated a massive performance leap over traditional baselines:

  • Anomaly Detection: Eadro achieved an F1-score of 0.989, significantly outperforming trace-only models like TraceAnomaly (0.486) and MultimodalTrace (0.608).
  • Root Cause Localization: In terms of Top-1 Hit Rate (HR@1)—the frequency with which the actual culprit is the model's top recommendation—Eadro scored 0.990 on the TrainTicket dataset. This is a dramatic improvement over the best-performing baseline, DyCause, which only achieved 0.231.
  • Ablation Studies: The research confirmed that removing any single data source (logs, KPIs, or traces) resulted in a performance drop, validating the necessity of the multi-source approach.

Discussion and Future Work

While Eadro represents a significant advancement, the authors note certain limitations. The framework is currently optimized for performance and reliability issues (e.g., resource exhaustion or crashes) rather than "silent" logic bugs where the system remains performant but returns incorrect data. Additionally, Eadro is a supervised model requiring labeled fault data for training. Future research may explore the use of unsupervised models or "pseudo-labeling" to reduce the manual effort required by site reliability engineers.

Conclusion

Eadro proves that the "needle in a haystack" problem of microservice troubleshooting is best solved by breaking down data silos and treating detection and localization as a unified task. By combining specialized modal learning with graph-based dependency awareness, Eadro provides a robust, end-to-end solution that far exceeds the accuracy of current state-of-the-art tools.

Summary updated

BibTeX
@inproceedings{lee2023eadro,
  author = {Cheryl Lee and Tianyi Yang and Zhuangbin Chen and Yuxin Su and Michael R. Lyu},
  title = {{Eadro: An End-to-End Troubleshooting Framework for Microservices on Multi-source Data}},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00150},
}
Figure