[tracing] Zipkin provider to use sampling decision

Hi there, Looking into Istio tracing configuration. I don’t see how it is possible to defer tracing decision and allow downstream to make this decision. In particular I’m using opentelemetery collect via zipkin endpoint.

At the moment if I set randomSamplingPercentage to 0, Istio adds “x-b3-sampled: 0” to my request, forcing downstream not to sample when it needs to. This is in line with Accept/Deny sampling states. However what I’d like to achieve is Defer state when if Istio decides not to sample, it won’t add any headers, thus allowing downstream to make that decision later.

1 Like