Skip to content

deps: update otelhttp to v0.72.0 - #5076

Merged
milosgajdos merged 1 commit into
distribution:mainfrom
jgehrcke:jp/otelhttp-v0.72.0
Nov 11, 2026
Merged

milosgajdos merged 1 commit into
distribution:mainfrom
jgehrcke:jp/otelhttp-v0.72.0

Conversation

@jgehrcke

@jgehrcke jgehrcke commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

This is split out of #5052 to keep its review a little more easy.

Update from v0.67.0 to v0.72.0, the latest tagged release. Helpful links:

I checked with the help of an agent: server spans keep their names and attribute keys. Two values change: http.request.method is _OTHER instead of GET for an unknown request method, and the instrumentation scope version becomes 0.72.0. otelhttp now takes its attribute definitions from semconv v1.43.0 instead of v1.40.0.

otelhttp v0.72.0 requires these module versions, which move with it:

  go.opentelemetry.io/otel             v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/trace       v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/metric      v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/sdk         v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/sdk/metric  v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/log         v0.21.0 -> v1.47.0
  github.com/felixge/httpsnoop         v1.0.4  -> v1.1.0

I've carefully read the changelog at https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.47.0 -- a reviewer probably wants to do that as well! I think we're probably fine just landing this. But of course I have very limited experience with otelhttp in context of distribution/distribution.

Update go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
from v0.67.0 to v0.72.0, the latest tagged release.

otelhttp v0.72.0 requires these module versions, which move with it:

  go.opentelemetry.io/otel             v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/trace       v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/metric      v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/sdk         v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/sdk/metric  v1.45.0 -> v1.47.0
  go.opentelemetry.io/otel/log         v0.21.0 -> v1.47.0
  github.com/felixge/httpsnoop         v1.0.4  -> v1.1.0

No other module changes version; autoexport and the exporter modules
stay as they are. go.mod, go.sum and vendor are the output of go get,
go mod tidy and go mod vendor. No registry code changes.

Server spans keep their names and attribute keys. Two values change:
http.request.method is _OTHER instead of GET for an unknown request
method, and the instrumentation scope version becomes 0.72.0. otelhttp
now takes its attribute definitions from semconv v1.43.0 instead of
v1.40.0.

This is split out of distribution#5052 to keep its dependency change small.

Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Nov 11, 2026
@milosgajdos

Copy link
Copy Markdown
Member

God I hate otel and the mess it's created throughout the ecosystem...just look at this diff. Dear lord 😭

@milosgajdos
milosgajdos merged commit d14ff2f into distribution:main Nov 11, 2026
25 checks passed
@jgehrcke

Copy link
Copy Markdown
Contributor Author

God I hate otel and the mess it's created throughout the ecosystem...just look at this diff. Dear lord 😭

:-) I am sure the dear lord somewhat agrees haha 🔥 . And I love that between humans we can express feelings like this. I certainly feel you here. In any case, thanks for being pragmatic and just getting this in. Helps me tremendously in keeping #5052 somewhat sane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants