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
vendor: upgrade OpenTelemetry to v1.19.0 / v0.45.0 #9256
Conversation
Hi @milas. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Oh while I see you here; perhaps you know; I asked this question the other day; another dependency related to OTEL (at least, it was added as part of the initial OTEL bits I think);
|
I see this is linked to moby/buildkit#4318 Note that containerd updates in I see it's a rather large diff though, and includes an update to grpc; so for it to be backported to the 1.7 branch we must be sure it's backward compatible with older versions; e.g. both BuildKit v0.12 and BuildKit "master" (v0.13-dev) use the containerd 1.7 branch, so it needs to be compatible with both those versions. |
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.
noticed that we were updating to a vulnerable version of grpc here, so left a quick comment so that we don't merge before that's addressed.
@crazy-max Do you have a sense of whether this will be an issue?
|
I don't think gRPC 1.58.3 will cause an issue on BuildKit. I will push changes to moby/buildkit#4318 to make sure of it. Maybe we could bump gRPC in a dedicated PR on containerd first? |
@milas Opened moby/buildkit#4359 to check gRPC update. Also took a look at otel updates on BuildKit side but encounter schema conflicts linked to otel/sdk: moby/buildkit#4356 |
do we need a draft PR against the release/1.7 branch of containers to verify, or is updating in buildkit enough? |
I think best would be a gRPC update PR (similar to moby/buildkit#4359) before OTEL one to ensure there is no regression on containerd repo. |
Upgrade to the latest OpenTelemetry libraries; this will unblock a lot of downstream projects in the ecosystem to upgrade, as some of the parts here were pre-1.0/unstable. See also: * containerd#9256
Upgrade to the latest OpenTelemetry libraries; this will unblock a lot of downstream projects in the ecosystem to upgrade, as some of the parts here were pre-1.0/unstable. See also: * containerd#9256
Upgrade to the latest OpenTelemetry libraries; this will unblock a lot of downstream projects in the ecosystem to upgrade, as some of the parts here were pre-1.0/unstable. See also: * containerd#9256 Signed-off-by: Milas Bowman <milas.bowman@docker.com>
🙈 needs a rebase (again) @milas |
Upgrade OpenTelemetry core libs to v1.19.0 and contrib (for gRPC tracing) to v0.45.0. The OpenTelemetry internal module structure/dependency graph is rather complex, and recently some parts (e.g. metrics) have graduated to "stable" from "unstable", so this upgrade is important to unblock downstream projects to be able to use newer versions of the OpenTelemetry libraries, as they can cause compatibility issues due to internal/peer dependency changes otherwise. Hopefully, future updates won't be as problematic, such that projects using containerd as a dependency will be able to use newer versions of the libraries in a compatible fashion. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
Since #9281 was merged, it'd probably be good to get this in so that 1.7.x isn't on a newer version of OTel deps than 2.0.x. And again, this bump is sorta important because some of the OTel components have now been 'stabilized' so by raising the limit here, we'll have many fewer problems with Go module MVS moving forward (I hope) |
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.
LGTM if CI is happy :)
Upgrade OpenTelemetry core libs to v1.19.0 and contrib (for gRPC tracing) to v0.45.0.
The OpenTelemetry internal module structure/dependency graph is rather complex, and recently some parts (e.g. metrics) have graduated to "stable" from "unstable", so this upgrade is important to unblock downstream projects to be able to use newer versions of the OpenTelemetry libraries, as they can cause compatibility issues due to internal/peer dependency changes otherwise.
Hopefully, future updates won't be as problematic, such that projects using containerd as a dependency will be able to use newer versions of the libraries in a compatible fashion.
See also: