Slack
- Deep dive
- Reliability & postmortems
- Distributed systems
- Latency & performance
Tracing at Slack: Thinking in Causal Graphs
Answers How do you find out why a request was slow?
“Why is it slow?” is the hardest question in a distributed system. Existing tracing tools did not suit Slack’s clients and scripts and kept traces locked in a UI, so Slack models traces as causal graphs of SpanEvents…
- The problem
- Existing tracing tools did not suit Slack’s clients and scripts and kept traces inside a UI.
- What they did
- Slack models traces as causal graphs of a new data structure, the SpanEvent.
- The result
- Traces engineers can view and also query with SQL.
Why read it Treating traces as data to query, not just pictures to look at.