How to pass a opentracing.Span with the context through a gRPC call with go-micro #2548
Answered
by
Davincible
djedjethai
asked this question in
Q&A
-
Hi, How to pass an opentracing.Span id between two services(2 handlers) using a gRPC call, see:
But then on the receiver handler
The span identifier is gone... ?? How can I pass it ? |
Beta Was this translation helpful? Give feedback.
Answered by
Davincible
Aug 17, 2022
Replies: 2 comments
-
Contexts are Go instances and cannot simply be send over a grpc call. You'd have to send the span separately from the context |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
djedjethai
-
Thanks for the Information @Davincible, I finally tried to add them to the body and it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contexts are Go instances and cannot simply be send over a grpc call. You'd have to send the span separately from the context