lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 54 forks source link

Propagate sampling decisions for binary carrier #279

Closed lorenmh closed 3 years ago

lorenmh commented 3 years ago

Sorry for prematurely opening prior PR (#278), meant to test this in a private forked repo before opening the PR.

The binary carrier was not propagating sampling decisions, PR fixes this so the sampling decision is correctly propagated. The sampling decision wasn't being used after decoding from the wire format; PR simply uses the wire format's sampling decision when decoding.