lightstep / lightstep-tracer-go

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

Sampled flag is an empty string if not set #269

Closed codeboten closed 3 years ago

codeboten commented 3 years ago

When no propagation method is selected and a simple HTTP request is traced:

Host: 127.0.0.1:9090 
User-Agent: Go-http-client/1.1 
Ot-Tracer-Sampled: 
Ot-Tracer-Spanid: 37049a4c8e36dd70 
Ot-Tracer-Traceid: 5f0325eafe081fcc 
Accept-Encoding: gzip

The flag should be set to a default value of true