Closed codeboten closed 4 years ago
This change provides the ability to configure B3 headers propagation via a Propagator option parameter when creating a new Tracer:
lightstepTracer := lightstep.NewTracer(lightstep.Options{ AccessToken: "YourAccessToken", Propagator: "b3", })
The default configuration uses LightStep headers as before. As part of this change, adding a Propagator interface to support future formats, currently implemented by lightstepPropagator and b3Propagator.
wo0t!
Correct. This is only adding support for b3 header propagation. Implementing a PropagatorStack as in the Java implementation will be done separately.
This change provides the ability to configure B3 headers propagation via a Propagator option parameter when creating a new Tracer:
The default configuration uses LightStep headers as before. As part of this change, adding a Propagator interface to support future formats, currently implemented by lightstepPropagator and b3Propagator.