Skip to main navigation Skip to search Skip to main content

SRdetector: Sequence Reconstruction Method for Microservice Anomaly Detection

  • Haixin Ge
  • , Xin Ji
  • , Fang Peng
  • , Ruibo Chen
  • , Nan Xiang
  • , Kui Zhang
  • , Wenjun Wu*
  • *Corresponding author for this work
  • Beihang University
  • State Grid Corporation of China

Research output: Contribution to journalArticlepeer-review

Abstract

With the expansion of microservice-based applications over time, the number of microservices rises, resulting in an augmentation of the volume of performance metrics. Consequently, selecting the appropriate performance metrics for anomaly detection becomes a critical challenge. Since these performance metrics are typically strongly correlated with timestamps, they form time series data comprising timestamp–value pairs. To address this, we propose SRdetector, a feature-enhanced Transformer-based model that adopts a time series forecasting approach to detect anomalies in microservices. Furthermore, we integrate a dynamic weight adjustment mechanism into the original Transformer attention mechanism to assign weights to different performance and temporal features. This enables the model to dynamically learn the significance of various features at different time intervals, effectively serving as a feature selection method for microservice performance metrics. Finally, anomaly detection in microservices is conducted by evaluating the predicted performance metric data based on confidence intervals.

Original languageEnglish
Article number65
JournalElectronics (Switzerland)
Volume14
Issue number1
DOIs
StatePublished - Jan 2025

Keywords

  • confidence intervals
  • fast Fourier transform
  • service performance metrics
  • time series anomaly detection

Fingerprint

Dive into the research topics of 'SRdetector: Sequence Reconstruction Method for Microservice Anomaly Detection'. Together they form a unique fingerprint.

Cite this