AI-Driven Anomaly Detection in Cloud-Native Microservices: The Night’s Watch Algorithm
As organizations shift to microservice architectures, the need for effective anomaly detection becomes more critical. Classic approaches rely heavily on predefined thresholds or labeled data, both of which scale poorly in distributed and dynamic environments. This paper introduces the Night’s Watch algorithm, a novel unsupervised method for detecting anomalies in microservices. By integrating multi-source data and temporal features, the algorithm addresses key limitations of existing approaches. Our experiments demonstrate that the Night’s Watch algorithm significantly improves precision (up to 92%) and recall (up to 39%) depending on the training set size. These results indicate that the algorithm can reduce false positives and enhance real-time anomaly detection in microservice environments. These findings contribute to the development of more robust AI-driven monitoring systems, advancing the state of anomaly detection in cloud-native architectures.
Authors
- Baris Can (ORCID: https://orcid.org/0000-0002-6941-3175)
- Bekir Çetintav (ORCID: https://orcid.org/0000-0001-7251-1211)
- Fatih Baday
- Ghaith Dkmak (ORCID: https://orcid.org/0009-0007-3229-9843)
- Orkun Sevinc
- Cenk Burak Egeli
Institutions
- Teknoloji Arastirma ve Gelistirme Endustriyel Urunler Bilisim Teknolojileri San Tic (TR)
- Burdur Mehmet Akif Ersoy Üniversitesi (TR)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-12-02
- DOI
- https://doi.org/10.3390/app152312762
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00