NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LightTrace: A Versatile Ebpf-Enabled Toolkit for Lightweight Distributed Tracing

Y Zhang, Bing Luo, Shufan Gong, Huanghuang Liang, Chuang Hu, Yanjie Gou2025

Abstract

Distributed tracing is widely employed for troubleshooting distributed systems such as microservices. Existing tracing systems typically improve one or more of data completeness, non-intrusiveness, or lightweight operation through various data generation strategies. However, no current solution optimizes all three aspects simultaneously, which can introduce significant overhead in I/O-intensive environments that demand both high completeness and minimal intrusion. In this paper, we introduce LightTrace, a novel, eBPF-enabled toolkit that optimizes the data transmission mechanism in distributed tracing. LightTrace integrates seamlessly with mainstream tracing systems and leverages eBPF to reduce end-to-end latency and lower overall system overhead. LightTrace is implemented using a combination of kernel-level eBPF and user-space Golang components. Our evaluation demonstrates that LightTrace decreases the average latency overhead by up to 22.8 % and improves the peak throughput of microservice systems by between <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 2. 3 \%}$</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 8. 6 \%}$</tex>. Furthermore, LightTrace's adaptability across diverse tracing platforms underscores its versatility in various microservice environments.
BibTeX
@misc{zhang2025lighttrace,
  author = {Y Zhang and Bing Luo and Shufan Gong and Huanghuang Liang and Chuang Hu and Yanjie Gou},
  title = {{LightTrace: A Versatile Ebpf-Enabled Toolkit for Lightweight Distributed Tracing}},
  year = {2025},
  doi = {10.1109/icpads67057.2025.11322958},
}

Loading related content...

Figure