Skip to content

Fix otel version incompatibility#9480

Merged
samuelkarp merged 3 commits intocontainerd:mainfrom
dmcgowan:fix-otel-http
Dec 6, 2023
Merged

Fix otel version incompatibility#9480
samuelkarp merged 3 commits intocontainerd:mainfrom
dmcgowan:fix-otel-http

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

@dmcgowan dmcgowan commented Dec 6, 2023

Fixes issue from #9427 in main. Original issues were found in moby/moby#46830.

The first two commits are intended for backport to 1.7, the last commit removes the deprecated function.

milas and others added 3 commits December 6, 2023 11:09
All components need to use a consistent `semconv` version or OTel
will emit errors about "cannot merge resource due to conflicting Schema URL".

Switch to the appropriate semconv version, which requires dropping
usage of `httpconv`. Instead, the upstream HTTP client hooks are
used directly. (The lower-level functions are no longer exported by
OTel.)

Signed-off-by: Milas Bowman <[email protected]>
@dmcgowan dmcgowan added the cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch label Dec 6, 2023
@samuelkarp samuelkarp added this pull request to the merge queue Dec 6, 2023
Merged via the queue into containerd:main with commit 148d21b Dec 6, 2023
@dmcgowan dmcgowan added cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch and removed cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels Dec 6, 2023
@dmcgowan dmcgowan deleted the fix-otel-http branch April 20, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants