Litcius/Paper detail

Real-Time Anomaly Detection Using Distributed Tracing in Microservice Cloud Applications

Mahsa Raeiszadeh, Amin Ebrahimzadeh, Ahsan Saleem, Roch Glitho, Johan Eker, Raquel A. F. Mini

202310 citationsDOIOpen Access PDF

Abstract

Distributed tracing plays a vital role in microservice infrastructure, and learning-based trace analysis has been utilized to detect anomalies within such systems. However, existing approaches for learning-based trace-based anomaly detection face certain limitations. Some assume that trace patterns can be learned solely from normal executions, while others depend on anomaly injection to generate labeled traces categorized as normal or anomalous. However, in practical scenarios, anomalies may also happen during the normal execution. Moreover, a wide variety of anomalies may occur in practice, which cannot be captured solely through anomaly injection. To address these issues, we propose a Trace-Driven Anomaly Detection (TDAD) approach based on a Span Causal Graph (SCG) representation, which trains a model using a Graph Neural Network (GNN) and Positive and Unlabeled (PU) learning. This technique allows the model parameters to be optimized by estimating the underlying data distribution. As a result, TDAD can be effectively trained using a small number of labeled anomalous traces along with a relatively large number of unlabeled traces. Our evaluation reveals that TDAD outperforms not only the existing unsupervised trace-based anomaly detection methods by 11.9% in terms of F <inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</inf> -score but also a supervised learning-based benchmark by 12x in terms of detection time.

Topics & Concepts

Cloud computingTracingComputer scienceAnomaly detectionAnomaly (physics)Real-time computingDistributed computingData miningOperating systemPhysicsCondensed matter physicsNetwork Security and Intrusion DetectionSoftware System Performance and ReliabilityAnomaly Detection Techniques and Applications
Real-Time Anomaly Detection Using Distributed Tracing in Microservice Cloud Applications | Litcius