-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Looking for OpenTelemetry go tracing example with spans propagating through the gateway #3212
Comments
I don't know of any examples of using the gateway with the Otel Go SDK. You would still need a tracing wrapper yes, it should be very similar to OpenTracing. Would you like to contribute an opentelemetry example? |
I think this should be re-open, as mentioned on the issue in the examlple that was added in the PR that closed this issue, the propagation doesn't work. |
Sorry to hear it's not working. Would you be interested in submitting a fix? |
CC @iamrajiv |
Hi @johanbrandhorst, I'm currently investigating the issue and working on a solution. |
@iamrajiv here's a working fix: https://github.com/openfga/openfga/pull/1024/files, I just didn't have time to update this issue yet. One needs to wrap the
If using the otel package for Golang this results into 2 additional spans so the PR above does this manually to skip both of them and make the grpc-gateway transparent in the trace call stack. |
🚀 Feature
Are there any examples of something like this using OpenTelemetry's go SDK? Would a tracing wrapper still be required?
The text was updated successfully, but these errors were encountered: