lightstep / lightstep-tracer-go

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

Don't pad since b3 supports 64-bit as well as 128-bit trace IDs #236

Closed codeboten closed 4 years ago

codeboten commented 4 years ago

This change removes the padding for 64-bit trace IDs as it is no longer needed. In the event of a 128-bit ID that needs to be truncated to 64-bit, the most significant bits will be truncated.

Signed-off-by: Alex Boten aboten@lightstep.com

codeboten commented 4 years ago

Closes #224