TraceWeaver: Distributed Request Tracing for Microservices Without Application Modification
Sachin Ashok, Vipul Harsh, Brighten Godfrey, Radhika Mittal, Srinivasan Parthasarathy, Larisa Shwartz
摘要
Monitoring and debugging modern cloud-based applications is challenging since even a single API call can involve many interdependent distributed microservices. To provide observability for such complex systems, distributed tracing frameworks track request flow across the microservice call tree. However, such solutions require instrumenting every component of the distributed application to add and propagate tracing headers, which has slowed adoption. This paper explores whether we can trace requests without any application instrumentation, which we refer to as request trace reconstruction. To that end, we develop TraceWeaver, a system that incorporates readily available information from production settings (e.g., timestamps) and test environments (e.g., call graphs) to reconstruct request traces with usefully high accuracy. At the heart of TraceWeaver is a reconstruction algorithm that uses request-response timestamps to effectively prune the search space for mapping requests and applies statistical timing analysis techniques to reconstruct traces. Evaluation with (1) benchmark microservice applications and (2) a production microservice dataset demonstrates that TraceWeaver can achieve a high accuracy of 90% and can be meaningfully applied towards multiple use cases (e.g., finding slow services and A/B testing).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DDB: Source-Level Interactive Debugging for Distributed Applications 引用了 Network-Centric Distributed Tracing with DeepFlow: Troubleshooting Your Microservices in Zero Code
- TORAI: Multi-source Root Cause Analysis for Blind Spots in Microservice Service Call Graph 引用了 Network-Centric Distributed Tracing with DeepFlow: Troubleshooting Your Microservices in Zero Code
引用它的顶会 Paper5
- TORAI: Multi-source Root Cause Analysis for Blind Spots in Microservice Service Call GraphLuan Pham, Huong Ha, Xiuzhen Zhang, Hongyu ZhangFSE 2026 · 3 次引用
- MoCE: A Mixture-of-Context Aware Experts Framework for Troubleshooting Internet-scale ServicesVipul Harsh, Sayan Sinha, Henry Milner, B. Aditya Prakash 等NSDI 2026 · 2 次引用
- DDB: Source-Level Interactive Debugging for Distributed ApplicationsYibo Yan, Junzhou He, Seo Jin ParkSOSP 2026
- ITBench: Evaluating AI Agents across Diverse Real-World IT Automation TasksSaurabh Jha, Rohan R. Arora, Yuji Watanabe, Takumi Yanagawa 等ICML 2025
- Robust Root Cause Diagnosis using In-Distribution InterventionsLokesh Nagalapatti, Ashutosh Srivastava, Sunita Sarawagi, Amit SharmaICLR 2025
它引用的 Paper1
相关 Paper
- FlowScope: Non-Intrusive Distributed Tracing with Method-Level Delay Estimation for Microservices TroubleshootingYantao Geng, Han Zhang, Zhiheng Wu, Yahui Li 等ICSE 2026
- Low-Overhead Distributed Application Observation with DeepTrace: Achieving Accurate Tracing in Production SystemsYantao Geng, Han Zhang, Zhiheng Wu, Yahui Li 等SIGCOMM 2025
- Tracezip: Efficient Distributed Tracing via Trace CompressionZhuangbin Chen, Junsong Pu, Zibin ZhengISSTA 2025 · 2 次引用
- AutoMAP: Diagnose Your Microservice-based Web Applications AutomaticallyMeng Ma, Jingmin Xu, Yuan Wang, Pengfei Chen 等WWW 2020 · 144 次引用
- MicroRank: End-to-End Latency Issue Localization with Extended Spectrum Analysis in Microservice EnvironmentsGuangba Yu, Pengfei Chen, Hongyang Chen, Zijie Guan 等WWW 2021 · 152 次引用
