###
计算机系统应用英文版:2022,31(1):175-181
本文二维码信息
码上扫一扫!
基于动态采样策略的微服务链路追踪方法
(1.中国科学院 软件研究所 软件工程技术研究开发中心, 北京 100190;2.中国科学院大学, 北京 100490;3.厦门物之联智能科技有限公司, 厦门 361022)
Microservices Tracing Based on Dynamic Sampling Strategy
(1.Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;2.University of Chinese Academy of Sciences, Beijing 100049, China;3.Xiamen Wuzhilian Intelligent Technology Co. Ltd., Xiamen 361022, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 670次   下载 1208
Received:March 14, 2021    Revised:April 07, 2021
中文摘要: 针对现有开源分布式链路追踪系统或框架的采样策略存在收集过多无助于故障分析等任务的正常执行的跟踪的问题,本文提出一种动态采样策略,通过采样策略树和执行轨迹图两种数据结构解决了跟踪采样率自动调整问题和如何快速准确地找到需要调整跟踪采样率的服务的问题,并通过两者的协作提高异常执行的跟踪占比.实验结果表明,本文方法在任一时间段内均有效提高了异常执行的跟踪占比.
Abstract:To address the problem that the sampling strategies of existing open-source distributed tracing systems or frameworks collect redundant traces of normal executions that are less helpful to tasks such as fault analysis, we propose a dynamic sampling strategy. With two data structures of sampling strategy tree and execution trace graph, it realizes the automatic adjustment of trace sampling rate and finds the way to quickly and accurately determine services that need to adjust the trace sampling rate. The collaboration between the above data structures enhances the trace proportion of anomalous executions. The experimental results show that the proposed method effectively improves the trace proportion of anomalous executions in any time period.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
颜复海,李培军,张泽华,陈文辉,许舒人.基于动态采样策略的微服务链路追踪方法.计算机系统应用,2022,31(1):175-181
YAN Fu-Hai,LI Pei-Jun,ZHANG Ze-Hua,CHEN Wen-Hui,XU Shu-Ren.Microservices Tracing Based on Dynamic Sampling Strategy.COMPUTER SYSTEMS APPLICATIONS,2022,31(1):175-181