-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: update to otelgo v1.20 #222
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #222 +/- ##
=======================================
Coverage 59.03% 59.03%
=======================================
Files 55 55
Lines 2248 2248
=======================================
Hits 1327 1327
Misses 861 861
Partials 60 60 ☔ View full report in Codecov by Sentry. |
@@ -23,11 +23,10 @@ require ( | |||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0 // indirect | |||
go.opentelemetry.io/contrib/propagators/b3 v1.20.0 // indirect | |||
go.opentelemetry.io/otel v1.20.0 // indirect | |||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 // indirect | |||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0 // indirect | |||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.43.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you need to rerun go mod tidy in these sub folders? eg. go.opentelemetry.io/contrib/propagators/b3 v1.20.0 should be at 1.21.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran make tidy, let me try running go mod tidy on each of them one by one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no changes after individual run either. I think your diff is not showing all the commits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh i did not realize you can not updated the go.opentelemetry.io/contrib/propagators/b3 to v1.21.0
go.mod
Outdated
@@ -21,10 +21,10 @@ require ( | |||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0 | |||
go.opentelemetry.io/contrib/propagators/b3 v1.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 1.21.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its 21 right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/propagators%2Fb3%2Fv1.21.0 otel go and contrib versions are all over the place :( eg for contrib https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.21.0 - Release v1.21.0/v0.46.0/v0.15.0/v0.1.0
Depending on the module it can be one of those
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, different packages follow different versioning :(
go.opentelemetry.io/otel/trace v1.19.0 | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0 | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0 | ||
go.opentelemetry.io/contrib/propagators/b3 v1.21.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tim-mwangi but its already 1.21.0
Upgrading otel libraries to 1.20 because of vulnerability
Checklist: