Back to search

University of Alberta

Enhancing the Observability of Microservices Using Anomaly Detection and Root Cause Localization With Distributed Traces and Profiling Metrics

Abstract

dc:description.abstract

Future microservice systems demand enhanced observability to support efficient anomaly detection and root cause localization, especially as these systems scale. This thesis investigates methods for advancing anomaly detection and root cause localization in microservices using multi-source observability data, including distributed traces and profiling metrics. Existing approaches either focus on limited single-source metrics or rely on assumptions about data and services relationships that do not hold in dynamic, real-world systems. These limitations hinder the accuracy of root cause analysis, particularly in complex scenarios where issues propagate across interconnected services. To address these challenges, this thesis introduces three novel methods. First, it presents ServiceAnomaly, an anomaly detection approach that constructs a Context Propagation Graph (CPG) using distributed traces and profiling metrics to model expected system behavior, enabling the detection and analysis of both structural and behavioral deviations in system performance. Second, it proposes an unsupervised root cause localization method that utilizes critical path analysis in combination with Graph Neural Networks (GNNs), allowing for precise anomaly detection and root cause identification in complex microservice architectures. Third, CARE (Context-Aware Root Cause Identification), a contextual root cause localization approach, integrates social network analysis techniques to investigate anomaly propagation paths, emphasizing the significance of service communities, execution paths, and individual services. CARE offers a new level of observability by contextualizing root cause analysis with a weighted spectrum that considers various propagation pathways in the service network. These contributions aim to enhance the robustness and scalability of microservice systems by providing a comprehensive framework for anomaly detection and root cause localization. The proposed methods have been rigorously evaluated on both simulated and real-world datasets, demonstrating significant improvements in the detection and localization of complex, cascading anomalies in distributed microservice environments.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Software Engineering and Intelligent Systems
Grantor
University of Alberta
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Panahandeh, Mahsa Sadat
Advisors dc:contributor.advisor
  • James Miller( Electrical and Computer Engineering Department, University of Alberta)
  • Abdelwahab Hamou-Lhadj (Electrical and Computer Engineering Department, Concordia University)

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/81742

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Panahandeh, Mahsa Sadat. Enhancing the Observability of Microservices Using Anomaly Detection and Root Cause Localization With Distributed Traces and Profiling Metrics. Doctoral thesis, University of Alberta, 2025. https://doi.org/10.7939/81742