Student or educator? Sign up with your school email and get 6 months of Pro free.
CoChat

The DOI matches its Crossref record; 203 of the 204 references it cites were found in a registry or an index; 42 of the 210 sources its claims cite were checked for support.

Anomaly detection and root-cause identification in microservices: a survey

Open access

Abstract

Microservices Architecture (MSA) has emerged as a dominant paradigm for building scalable and flexible distributed systems. By decomposing applications into loosely coupled services, MSA improves modularity and deployment agility, but also introduces significant challenges for system monitoring, anomaly detection, and root-cause identification. These challenges stem from the high degree of dynamic behaviour, service heterogeneity, and inter-service dependencies. This survey provides a comprehensive and systematic review of state-of-the-art approaches for anomaly detection and root-cause analysis in microservice-based systems, covering the period from 2012 to 2025. It examines 117 selected studies, categorized according to data collection methods, detection algorithms, diagnostic models, and evaluation metrics. Emphasis is placed on the role of machine learning, statistical inference, and trace-based methods in detecting and localizing faults. Furthermore, the survey highlights the limitations of existing techniques in terms of scalability, explainability, and real-time applicability. By consolidating scattered research into a unified analytical framework, this work contributes a detailed taxonomy of methods and a critical discussion of their effectiveness in container-based virtualized environments. The survey provides a representative and timely overview of the field, helping to map current progress and highlight remaining gaps. Finally, it outlines promising directions such as hybrid detection architectures, automated trace reasoning, and context-aware root-cause localization, offering guidance for researchers and practitioners seeking to enhance reliability, observability, and operational resilience in microservice systems.

Overview

CoChat Summary

TL;DR

This survey systematically reviews anomaly detection and root-cause identification (RCI) in microservice architectures, organizing the literature by data source, detection method, and RCI technique. It compares reported performance across methods and highlights trustworthiness, testbeds, datasets, and open challenges for distributed diagnosis.

Key findings

  • The survey covers data collection via logs, distributed traces, and monitoring metrics; anomaly detection via unsupervised, supervised, semi-supervised, reinforcement, trace-comparison, and statistical methods; and RCI via machine learning, graph-based, and statistical techniques.
  • For anomaly detection, statistical methods had the highest accuracy (99.2%), while trace comparison had the highest recall (99.0%), precision (92.0%), and F1-score (98.2%); supervised learning had high precision/F1/accuracy but lower recall, and unsupervised learning had high precision but low accuracy and recall.
  • For RCI, machine learning was most promising (precision 94.9%, recall 98.0%, F1 99.0%, accuracy 94.3%), followed by graph-based methods (precision 92.7%, recall 89.7%); statistical methods had precision 85.0%, recall 88.0%, F1 85.8%, and accuracy 99.0%.
  • Top individual anomaly detection methods included tree-matching (P 97%, R 99%, F1 98%), deep variational Bayesian networks (P 98%, R 97%, F1 97%), SVM (F1 96.4%), VGAE+LSTM-AE (P 97.6%, R 93%, F1 95%), and GAT (P 90.5%, R 98.7%, F1 94.4%); top RCI methods included MLP (P 99.8%, R 98%, F1 99%), metric causality graph (P 97%), RPCA (P 90%), SBFL (P 82%, R 93%, F1 87%), and PRV (P 86%, R 83%, F1 84.5%).
  • Train Ticket was the most commonly used open-source testbed, followed by Sock Shop, PyMicro, and Death Star; AIOps Challenge 2020/2021 datasets were the most cited (nine publications), and proprietary platforms included Alibaba, Netflix, IBM BlueMix, and eBay. The survey also proposes trust dimensions for distributed diagnosis: reliability, explainability, consistency, robustness, causal validity, scalability, and telemetry integrity.

Methods

  • PRISMA-based systematic literature review searching seven digital libraries (IEEE Xplore, ACM Digital Library, Science Direct, Wiley Online Library, Springer Link, Scopus, Web of Science), limited to English publications after 2012, with search conducted December 2021–May 2025.
  • The selection process reports 10,485 initial records and 143 included publications (141 via PRISMA plus 2 from other methods); an earlier sentence states 1,700 results and 117 included publications.
  • Studies were categorized by data collection method, anomaly detection method, RCI method, fault type, and performance metrics; performance comparison selected methods with more than 80% values in the most frequent metrics (accuracy, F1-score, precision, recall).

Limitations

  • The paper states: scope limited to English studies from 2012 to May 2025; possible selection bias despite seven libraries; direct performance comparisons should be interpreted cautiously due to heterogeneous datasets, experimental setups, and metrics; and rapidly evolving field means newer methods beyond the cut-off are not captured.
  • The text makes evident inconsistent publication counts (1,700/117 vs. 10,485/143) and frequent missing performance values (“n.a.”), which complicate direct method comparison.
  • The paper also notes that no datasets were generated or analysed during the current study, and that many surveyed works use different testbeds and datasets, limiting comparability.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1007/s10586-026-06095-9

Cites

203 of 204 references verified0 citation errors · 1 not checkable

Statistics

Nothing to recompute.

Figures

Fig. 1 Microservice vs. Monolithic architectures (adapted from [38] and [39])
Fig. 1 Microservice vs. Monolithic architectures (adapted from [38] and [39])CC-BY · From the PDF
Fig. 2 Microservice anomaly classification tree (adapted from [ 44])
Fig. 2 Microservice anomaly classification tree (adapted from [ 44])CC-BY · From the PDF
Image 3
CC-BY · From the PDF
Fig. 3 PRISMA Flow Diagram
Fig. 3 PRISMA Flow DiagramCC-BY · From the PDF
Fig. 4 Studies included by year of publication
Fig. 4 Studies included by year of publicationCC-BY · From the PDF
Fig. 5 Evolution of anomaly types detected
Fig. 5 Evolution of anomaly types detectedCC-BY · From the PDF
Fig. 6 Testbed platforms usage percentage
Fig. 6 Testbed platforms usage percentageCC-BY · From the PDF
Fig. 7 Parallel-sets diagram mapping, for each work, the Data Collection method (L-Logs, M-Monitoring, T-Traces, ND-Not described) to the Anomaly Detection method (UL-Unsupervised, SL-Supervised, RL-Reinforcement, TR-Trace comparison, ST-Statistical, ND-Not described) and to the Root-Cause Identification method (ML-Machine Learning, G-Graph/causal, S-Statistical, ND-Not described). Each polyline represents a single paper flowing from Data → Detection → RCA
Fig. 7 Parallel-sets diagram mapping, for each work, the Data Collection method (L-Logs, M-Monitoring, T-Traces, ND-Not described) to the Anomaly Detection method (UL-Unsupervised, SL-Supervised, RL-Reinforcement, TR-Trace comparison, ST-Statistical, ND-Not described) and to the Root-Cause Identification method (ML-Machine Learning, G-Graph/causal, S-Statistical, ND-Not described). Each polyline represents a single paper flowing from Data → Detection → RCACC-BY · From the PDF
Image 9
CC-BY · From the PDF
Fig. 9 Anomaly detection methods identified in this survey
Fig. 9 Anomaly detection methods identified in this surveyCC-BY · From the PDF
Fig. 10 Relationship between data collection method and anomaly detection technique
Fig. 10 Relationship between data collection method and anomaly detection techniqueCC-BY · From the PDF
Fig. 11 Root-Cause identification methods
Fig. 11 Root-Cause identification methodsCC-BY · From the PDF
Image 13
CC-BY · From the PDF
Image 14
CC-BY · From the PDF
Image 15
CC-BY · From the PDF
Image 16
CC-BY · From the PDF
Image 17
CC-BY · From the PDF

Verification

Claims the paper makes

32 Valid · 35 Not valid · 109 Not checked · 118 Own results and interpretations

71 more claims · 9 with their cited sources checked

Create a free account to see all 294 claims and every source verdict.

See all claims — free account
  • Probably not a substantial claim. 152
  • It may state two separate claims as one. 120
  • The quote only partly states this claim. 2

Create a free account to see these claims.

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

5 of 5

Citations

Cites

Show all 192 references

Research works printed but not linked: 5

  1. Yuan, D., Park, S., Zhou, Y., Savage, S.: Sherlock: Performance bug diagnosis in production systems. In: Proceedings of the 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2012), pp. 1–14. USENIX Association, Berkeley, CA, USA (2012)
  2. Pahl, M.-O., Aubet, F.-X.: All Eyes on You: Distributed Multi-Dimensional IoT Microservice Anomaly Detection. In: Proceedings of the 2018 14th International Conference on Network and Service Management (CNSM), pp. 72–80 (2018). ISSN: 2165-963X
  3. Sutton, R.S., Barto, A.G.: Reinforcement Learning, Second Edition: An Introduction. Adaptive Computation and Machine Learning series. MIT Press. https://books.google.pt/books?id=uWV0DwAAQBAJ
  4. Harnik, D., Margalit, O., Naor, M., Tsfadia, A.: Confidential logging using trusted execution environments. In: Proceedings of the 28th USENIX Security Symposium, pp. 1627–1644 (2019)
  5. Glymour, M., Glymour, C., Jewell, N.: Causal Inference in Statistics: A Primer. Wiley, Hoboken, NJ, USA (2016)

Metadata

Authors
Barata, L. M., Sequeira, S., Lopes, E., Inácio, P. R. M., & Freire, M. M.
Affiliations
  • Universidade Politécnica de Castelo Branco (PT)
  • University of Beira Interior (PT)
Corresponding author
Barata, Luís M.
Venue
Cluster Computing
Published
2026-06
Volume
29
Issue
5
ISSN
  • 1386-7857 (ISSN-L)
  • 1573-7543
OpenAlex
W7163357751
Cited by
4
References
192
Citations by year
2026: 4
FWCI
9.49
Type
journal article
Language
en
Open access
Licence
Locations
Cluster Computing (publishedVersion, cc-by)
Funders
Universidade da Beira Interior
Topics
  • Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
  • Physical Sciences › Computer Science › Information Systems › Cloud Computing and Resource Management
  • Physical Sciences › Computer Science › Computer Networks and Communications › Distributed systems and fault tolerance
Keywords
microservices, anomaly detection, root cause identification, fault location, system monitoring, distributed systems, machine learning for fault detection, statistical inference, container-based virtualization, observability, operational resilience

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

The claim verdicts this report counts are experimental: their accuracy is not yet measured.

A language model drew the claims from the paper on 2026-10-05, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-10-05 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Anomaly detection and root-cause identification in microservices: a survey. https://app.cochat.ai/papers/10.1007/s10586-026-06095-9
The paper
Barata, L. M., Sequeira, S., Lopes, E., Inácio, P. R. M., & Freire, M. M. (2026). Anomaly detection and root-cause identification in microservices: a survey. Cluster Computing. https://doi.org/10.1007/s10586-026-06095-9

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.