EUVIMEDEUVIMED entdecken
Crossref

TraStrainer: Adaptive Sampling for Distributed Traces with System Runtime State

Haiyu Huang, Xiaoyu Zhang, Pengfei Chen, Zilong He, Zhiming Chen, Guangba Yu, Hongyang Chen, Chen Sun

Proceedings of the ACM on Software Engineering · 12.07.2024 · 1 (FSE) · 473-493

DOI: 10.1145/3643748 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 12.07.2024. Verfasst von Haiyu Huang und 7 weiteren Autor:innen. Die Arbeit wurde bisher 11-mal zitiert (Crossref) und nennt 57 Literaturangaben. Gefördert von: Guangdong Basic and Applied Basic Research Foundation.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Distributed tracing has been widely adopted in many microservice systems and plays an important role in monitoring and analyzing the system. However, trace data often come in large volumes, incurring substantial computational and storage costs. To reduce the quantity of traces, trace sampling has become a prominent topic of discussion, and several methods have been proposed in prior work. To attain higher-quality sampling outcomes, biased sampling has gained more attention compared to random sampling. Previous biased sampling methods primarily considered the importance of traces based on diversity, aiming to sample more edge-case traces and fewer common-case traces. However, we contend that relying solely on trace diversity for sampling is insufficient, system runtime state is another crucial factor that needs to be considered, especially in cases of system failures. In this study, we introduce TraStrainer, an online sampler that takes into account both system runtime state and trace diversity. TraStrainer employs an interpretable and automated encoding method to represent traces as vectors. Simultaneously, it adaptively determines sampling preferences by analyzing system runtime metrics. When sampling, it combines the results of system-bias and diversity-bias through a dynamic voting mechanism. Experimental results demonstrate that TraStrainer can achieve higher quality sampling results and significantly improve the performance of downstream root cause analysis (RCA) tasks. It has led to an average increase of 32.63% in Top-1 RCA accuracy compared to four baselines in two datasets.

Förderung

  • Guangdong Basic and Applied Basic Research Foundation

Zitieren

APA

Huang, H., Zhang, X., Chen, P., He, Z., Chen, Z., Yu, G., Chen, H., & Sun, C. (2024). TraStrainer: Adaptive Sampling for Distributed Traces with System Runtime State. Proceedings of the ACM on Software Engineering, 1(FSE), 473-493. https://doi.org/10.1145/3643748

Vancouver

Huang H, Zhang X, Chen P, He Z, Chen Z, Yu G, et al. TraStrainer: Adaptive Sampling for Distributed Traces with System Runtime State. Proceedings of the ACM on Software Engineering. 2024;1(FSE):473-493. doi:10.1145/3643748

BibTeX
@article{Huang2024,
  author = {Huang, Haiyu and Zhang, Xiaoyu and Chen, Pengfei and He, Zilong and Chen, Zhiming and Yu, Guangba and Chen, Hongyang and Sun, Chen},
  title = {TraStrainer: Adaptive Sampling for Distributed Traces with System Runtime State},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2024},
  volume = {1},
  number = {FSE},
  pages = {473--493},
  doi = {10.1145/3643748}
}
Kostenlos starten →