TY - JOUR
T1 - SRdetector
T2 - Sequence Reconstruction Method for Microservice Anomaly Detection
AU - Ge, Haixin
AU - Ji, Xin
AU - Peng, Fang
AU - Chen, Ruibo
AU - Xiang, Nan
AU - Zhang, Kui
AU - Wu, Wenjun
N1 - Publisher Copyright:
© 2024 by the authors.
PY - 2025/1
Y1 - 2025/1
N2 - 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.
AB - 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.
KW - confidence intervals
KW - fast Fourier transform
KW - service performance metrics
KW - time series anomaly detection
UR - https://www.scopus.com/pages/publications/85214462952
U2 - 10.3390/electronics14010065
DO - 10.3390/electronics14010065
M3 - 文章
AN - SCOPUS:85214462952
SN - 2079-9292
VL - 14
JO - Electronics (Switzerland)
JF - Electronics (Switzerland)
IS - 1
M1 - 65
ER -