How do I distribute tracing between 2 Go microservices using Opentelemetry & Otelgin ? #2629
Answered
by
chachachoco
chachachoco
asked this question in
Q&A
-
Please help, I've come across Otelhttp examples, but I couldn't find examples with Otelgin. Microservice 1
Microservice 2
|
Beta Was this translation helpful? Give feedback.
Answered by
chachachoco
Feb 24, 2022
Replies: 1 comment
-
After I changed my inject context to c.Request.Context(), it works. I was injecting the wrong context. I was injecting Resty context instead of Gin context. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chachachoco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After I changed my inject context to c.Request.Context(), it works. I was injecting the wrong context. I was injecting Resty context instead of Gin context.