lightstep / lightstep-tracer-go

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

span: use SetSampled option even if SetTraceID isn't used #285

Closed neena closed 2 years ago

neena commented 2 years ago

I want to use the SetSampled option to sample spans, without using the SetTraceID option. This PR allows setting those two options independently.