lightstep-tracer-javascript icon indicating copy to clipboard operation
lightstep-tracer-javascript copied to clipboard

Does not work with the ambassador/envoy/lightstep integration

Open martincognite opened this issue 6 years ago • 1 comments

The lightstep tracing module in envoy/ambassador passes down the headers x-ot-span-context and x-request-id, none of which work with the custom tracer.extract() function.

Renaming x-request-id to ot-tracer-traceid is not an issue, but I'm not sure how to decode x-ot-span-context into something useful (assuming it's not ot-tracer-spanid).

martincognite avatar May 19 '19 22:05 martincognite

The x-ot-span-context is a base64 encoded protobuf, so you'll need to do something like this https://github.com/austinlparker/lightstep-js-envoy-extract/blob/master/src/envoyPropagator.ts until it's properly supported in this tracer.

ethanrubio avatar May 21 '19 01:05 ethanrubio