Some paths require a wider view. Return on a larger screen.
Trace-Aware Routing
Twelve fragments of a single story arrive at three doors.
Only the door that receives all twelve can understand the whole.
You learned that tail sampling needs the complete trace. But when multiple agents export spans from the same trace, a load balancer scatters them. Watch what happens.
span routingmode: round-robin
12 spans from one trace. 3 agents. Watch the load balancer distribute them.
Routing strategy
Can any single gateway replica make a tail sampling decision?
What does consistent hashing of trace IDs achieve?
Trace-Aware Routing
Trace-aware routing ensures tail sampling sees the complete picture.
Without it, spans scatter across replicas and the sampler is blind.