Open gy1005 opened 5 years ago
While tracer:text_map_inject()
and tracer:http_headers_inject()
worked perfectly for me.
Which tracer are you using?
I am using Jaeger from https://github.com/jaegertracing/jaeger-client-cpp/releases/download/v0.4.2/libjaegertracing_plugin.linux_amd64.so.
And opentracing-cpp-1.5.1 built from source.
It seemed that
tracer:binary_inject()
didn't inject the span context to the carrier when I replacedtracer:text_map_inject()
function in thetutorial.lua
with it.carrier
turned out to be an empty string andspan_context
isnil
. Any idea on that?