grpc-ecosystem / grpc-opentracing

OpenTracing is a set of consistent, expressive, vendor-neutral APIs for distributed tracing and context propagation
BSD 3-Clause "New" or "Revised" License
472 stars 98 forks source link

opentracing: Unknown or unsupported Inject/Extract format #51

Open dayadev opened 5 years ago

dayadev commented 5 years ago

I am working on a grpc service using the grpc-opentracing interceptor in one of my projects at https://github.com/dayadev/grpc-zipkin-with-grpc-gateway but not able to extract span from the parent context and hence unable to propagate trace ids in inter service communication and I think when grpc_opentracing.UnaryServerInterceptor(grpc_opentracing.WithTracer(tracer) is invoked on a request, inside the open tracing interceptor, opentracing: Unknown or unsupported Inject/Extract format while extracting the parent context span from the tracer at tracer.Extract(opentracing.HTTPHeaders, metadataTextMap(md))

What would be the issue in my code?