Tracing Discord's Elixir Systems (Without Melting Everything)
Mar 4, 2026

Summary
This post details the implementation of distributed tracing for Discord's Elixir systems. It highlights the challenge of propagating tracing context in Elixir's communication mechanisms, which lack built-in metadata layers like HTTP headers. The team built a custom solution to address this, enabling end-to-end visibility without downtime. The new tracing system provides more granular insights into operation performance compared to existing metrics and guild timings, helping engineers diagnose and prevent guild-level performance degradation and outages.