基于分布式跟踪数据分析和自然语言处理的微服务环境异常检测。

Iman Kohyarnejadfard, Daniel Aloise, Seyed Vahid Azhari, Michel R Dagenais
{"title":"基于分布式跟踪数据分析和自然语言处理的微服务环境异常检测。","authors":"Iman Kohyarnejadfard,&nbsp;Daniel Aloise,&nbsp;Seyed Vahid Azhari,&nbsp;Michel R Dagenais","doi":"10.1186/s13677-022-00296-4","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":520665,"journal":{"name":"Journal of cloud computing (Heidelberg, Germany)","volume":" ","pages":"25"},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9375740/pdf/","citationCount":"3","resultStr":"{\"title\":\"Anomaly detection in microservice environments using distributed tracing data analysis and NLP.\",\"authors\":\"Iman Kohyarnejadfard,&nbsp;Daniel Aloise,&nbsp;Seyed Vahid Azhari,&nbsp;Michel R Dagenais\",\"doi\":\"10.1186/s13677-022-00296-4\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>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.</p>\",\"PeriodicalId\":520665,\"journal\":{\"name\":\"Journal of cloud computing (Heidelberg, Germany)\",\"volume\":\" \",\"pages\":\"25\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9375740/pdf/\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of cloud computing (Heidelberg, Germany)\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1186/s13677-022-00296-4\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2022/8/13 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of cloud computing (Heidelberg, Germany)","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1186/s13677-022-00296-4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2022/8/13 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

近年来,由于对灵活和可扩展解决方案的需求日益增加,DevOps和敏捷方法(如微服务架构和持续集成)变得非常流行。然而,微服务在网络中的分布、使用不同的技术、寿命短等因素使得微服务容易出现异常的系统行为。此外,由于小服务的高度复杂性,很难充分监控微服务环境的安全性和行为。在这项工作中,我们提出了一种基于NLP(自然语言处理)的方法来检测给定跟踪期间跨度的性能异常,以及定位释放-过度释放回归。值得注意的是,整个系统不需要先验知识,这有利于训练数据的收集。我们提出的方法得益于分布式跟踪数据,可以收集跨越期间发生的事件序列。在实际数据集上的大量实验表明,该方法的F_score为0.9759。结果还显示,除了能够检测异常和释放-过度释放回归之外,我们提出的方法通过在Trace Compass中实现可视化工具来加速根本原因分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Anomaly detection in microservice environments using distributed tracing data analysis and NLP.

Anomaly detection in microservice environments using distributed tracing data analysis and NLP.

Anomaly detection in microservice environments using distributed tracing data analysis and NLP.

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, 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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信