Cargando…
Anomaly detection in microservice environments using distributed tracing data analysis and NLP
In recent years DevOps and agile approaches like microservice architectures and Continuous Integration have become extremely popular given the increasing need for flexible and scalable solutions. However, several factors such as their distribution in the network, the use of different technologies, t...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer Berlin Heidelberg
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9375740/ https://www.ncbi.nlm.nih.gov/pubmed/35979413 http://dx.doi.org/10.1186/s13677-022-00296-4 |
_version_ | 1784768027785428992 |
---|---|
author | Kohyarnejadfard, Iman Aloise, Daniel Azhari, Seyed Vahid Dagenais, Michel R. |
author_facet | Kohyarnejadfard, Iman Aloise, Daniel Azhari, Seyed Vahid Dagenais, Michel R. |
author_sort | Kohyarnejadfard, Iman |
collection | PubMed |
description | In recent years DevOps and agile approaches like microservice architectures and Continuous Integration have become extremely popular given the increasing need for flexible and scalable solutions. However, several factors such as their distribution in the network, the use of different technologies, their short life, etc. make microservices prone to the occurrence of anomalous system behaviours. In addition, due to the high degree of complexity of small services, it is difficult to adequately monitor the security and behavior of microservice environments. In this work, we propose an NLP (natural language processing) based approach to detect performance anomalies in spans during a given trace, besides locating release-over-release regressions. Notably, the whole system needs no prior knowledge, which facilitates the collection of training data. Our proposed approach benefits from distributed tracing data to collect sequences of events that happened during spans. Extensive experiments on real datasets demonstrate that the proposed method achieved an F_score of 0.9759. The results also reveal that in addition to the ability to detect anomalies and release-over-release regressions, our proposed approach speeds up root cause analysis by means of implemented visualization tools in Trace Compass. |
format | Online Article Text |
id | pubmed-9375740 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer Berlin Heidelberg |
record_format | MEDLINE/PubMed |
spelling | pubmed-93757402022-08-15 Anomaly detection in microservice environments using distributed tracing data analysis and NLP Kohyarnejadfard, Iman Aloise, Daniel Azhari, Seyed Vahid Dagenais, Michel R. J Cloud Comput (Heidelb) Research In recent years DevOps and agile approaches like microservice architectures and Continuous Integration have become extremely popular given the increasing need for flexible and scalable solutions. However, several factors such as their distribution in the network, the use of different technologies, their short life, etc. make microservices prone to the occurrence of anomalous system behaviours. In addition, due to the high degree of complexity of small services, it is difficult to adequately monitor the security and behavior of microservice environments. In this work, we propose an NLP (natural language processing) based approach to detect performance anomalies in spans during a given trace, besides locating release-over-release regressions. Notably, the whole system needs no prior knowledge, which facilitates the collection of training data. Our proposed approach benefits from distributed tracing data to collect sequences of events that happened during spans. Extensive experiments on real datasets demonstrate that the proposed method achieved an F_score of 0.9759. The results also reveal that in addition to the ability to detect anomalies and release-over-release regressions, our proposed approach speeds up root cause analysis by means of implemented visualization tools in Trace Compass. Springer Berlin Heidelberg 2022-08-13 2022 /pmc/articles/PMC9375740/ /pubmed/35979413 http://dx.doi.org/10.1186/s13677-022-00296-4 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Research Kohyarnejadfard, Iman Aloise, Daniel Azhari, Seyed Vahid Dagenais, Michel R. Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title | Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title_full | Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title_fullStr | Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title_full_unstemmed | Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title_short | Anomaly detection in microservice environments using distributed tracing data analysis and NLP |
title_sort | anomaly detection in microservice environments using distributed tracing data analysis and nlp |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9375740/ https://www.ncbi.nlm.nih.gov/pubmed/35979413 http://dx.doi.org/10.1186/s13677-022-00296-4 |
work_keys_str_mv | AT kohyarnejadfardiman anomalydetectioninmicroserviceenvironmentsusingdistributedtracingdataanalysisandnlp AT aloisedaniel anomalydetectioninmicroserviceenvironmentsusingdistributedtracingdataanalysisandnlp AT azhariseyedvahid anomalydetectioninmicroserviceenvironmentsusingdistributedtracingdataanalysisandnlp AT dagenaismichelr anomalydetectioninmicroserviceenvironmentsusingdistributedtracingdataanalysisandnlp |