-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traceparent header doesn't get propagated from golang applications when its added as a sidecar in kubernetes #757
Comments
Hi, what you describe here should've worked. Do you mind adding BEYLA_PRINT_TRACES=1 (as environment variable) or add We haven't tested with gofiber, if you have a simple example for us to try with that doesn't work, that will also help a lot. Thanks! |
Hey
This is the debug trace that i got in service A, the traceparent is completely different which was passed to service B
|
This seems to be working well in echo http framework, would it be because gofiber is using the existing goroutines to serve HTTP calls? |
Hi again, so that looks like a regular httpclient call, we should've been able to propagate the context. From the requests output we only see a call to How do you select the Go process to be instrumented with Beyla? Do you use Open Port or Executable Name? I would've expected that we see a trace for /test/golang and one for /hello. Even if we couldn't properly instrument gofiber, the client instrumentation would've caught the call to /hello. |
Yeah the service is also configured with OTel SDK so sends traces to collector, |
OK, thanks! I'll try to create a fiber testcase and see what happens. |
Hey
I have written an API in golang (Service A using gofiber as http framework) which will call one of my services which is written in NodeJS (service B), the sidecar is only added to the service A. So when i hit the API of service A with a traceparent header, when an API call is made from this route, the traceparent header is not propagated
Please help me understand if i have misunderstood something
Thanks in advance
The text was updated successfully, but these errors were encountered: