without this change when there were tracing headers without sampled decision, we always exported the span. with this change if: Trace Id and Span Id are set but there is no Sampled flag - delegate sampling decision to Sampler Trace Id and Span Id and Sampled flag are set - pass the value from Sampled Flag fixes gh-1115