-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Compilation Error from Jaeger exporter when updating go packages dependencies #1548
Comments
This seems to be an artifact of Go treating modules at |
Fair enough @Aneurysm9 , I got it to build again by removing the indirect reference. I thought I would raise this in case you needed to bump the version used by the Jaeger exporter :) |
I'm assuming it will take going to GA and v1 for this to be resolved? I'm a little worried about having to make sure the team knows to remove the imported |
The suggestion here is we should look into vendoring the thrift library. |
Yup, we're not keen on the situation either. We discussed it at the SIG meeting today and, as @MrAlias mentioned, we decided that the best approach to take for now was to vendor the dependency inside the generated Thrift package. This is done in #1551 with import path rewriting, so there shouldn't be an issue if this exporter is used in a system that otherwise uses a different version of Thrift. Should Thrift ever hit a stable 1.0 release then we can re-evaluate using the module again. Thanks for bringing this issue to our attention, it's good that we caught it now while we can more easily address it. |
Thanks a lot for the quick response and action to this! |
Hey,
When doing a
go get -u ./...
in our go service, we get an error from thego.opentelemetry.io/otel/exporters/trace/jaeger
exporter with the below text.The root cause of this is that go adds
github.com/apache/thrift v0.14.0 // indirect
to the go.mod. It looks like v0.17.0 of the Jaeger exporter is using v0.13.0 of Thrift and there are some breaking changes go is trying to bring in when updating.The otel packages we are using are
The text was updated successfully, but these errors were encountered: