本文已被:浏览 806次 下载 1640次
Received:March 14, 2021 Revised:April 07, 2021
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
颜复海,李培军,张泽华,陈文辉,许舒人.基于动态采样策略的微服务链路追踪方法.计算机系统应用,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