Span sampling decision
The choice of which distributed traces to store from a service, usually based on probability or rules.
Distributed tracing generates vast data — storing everything is usually impossible and unnecessary. Head-sampling decides before the request starts (simpler but misses interesting failures). Tail-sampling decides after (can capture slow or failed traces). Modern systems often mix both: sample all simple successful requests hard, keep all failures. The right sampling strategy balances cost, visibility, and the ability to debug when things break.