Skip to content

chore: bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0 - #30409

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp-0.72.0
Oct 6, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp-0.72.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2026

Copy link
Copy Markdown
Contributor

Bumps go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0.

Changelog

Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.

[1.47.0/2.6.0/0.72.0/0.38.0/0.27.0/0.21.0/0.17.0/0.19.0] - 2026-10-03

Added

  • Add NewResourceDetectorWithOptions and the WithAWSLogger option to go.opentelemetry.io/contrib/detectors/aws/ec2/v2, allowing a custom AWS SDK logging.Logger to be supplied to the EC2 resource detector. (#9132)
  • Add go.opentelemetry.io/contrib/detectors/openshift, a new resource detector for OpenShift 4 clusters, ported from processor/resourcedetectionprocessor/internal/openshift in opentelemetry-collector-contrib. Detects k8s.cluster.name, and cloud.provider, cloud.platform and cloud.region for clusters running on AWS, Google Cloud and IBM Cloud; Azure clusters report cloud.provider and cloud.platform only. (#9499)
  • Add go.opentelemetry.io/contrib/detectors/kubeadm, a new resource detector for kubeadm-provisioned Kubernetes clusters, ported from processor/resourcedetectionprocessor/internal/kubeadm in opentelemetry-collector-contrib. Detects k8s.cluster.name from the ClusterConfiguration document in the kube-system/kubeadm-config ConfigMap and k8s.cluster.uid from the kube-system namespace UID. (#9500)

Changed

  • Client metrics in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp no longer include attributes from the server-side Labeler, preventing attributes such as http.route from leaking into outbound requests. This is a breaking change for applications that use ContextWithLabeler to add custom client metric attributes: use ContextWithClientLabeler / ClientLabelerFromContext or the WithMetricAttributesFn option instead. Server-side use of ContextWithLabeler / LabelerFromContext is unchanged. (#8924)
  • Stop emitting the legacy http.read_bytes and http.wrote_bytes attributes on the per-operation span events enabled by WithMessageEvents in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The read and write events remain, while total body sizes continue to be recorded on the server span as http.request.body.size and http.response.body.size according to HTTP semantic conventions. (#9624)

Deprecated

  • Deprecate go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#9707)
  • Deprecate go.opentelemetry.io/contrib/propagators/aws. (#9706)
  • Deprecate go.opentelemetry.io/contrib/samplers/probability/consistent. (#9633)
  • Deprecate ReadBytesKey, ReadErrorKey, WroteBytesKey, and WriteErrorKey in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The identifiers remain available and their values are unchanged, but WithMessageEvents no longer emits http.read_bytes or http.wrote_bytes. There is no semantic-convention replacement for per-read or per-write byte counts or the human-readable error fields. Use HTTPRequestBodySizeKey and HTTPResponseBodySizeKey from go.opentelemetry.io/otel/semconv/v1.43.0 to record total body sizes on the span. If an error causes the HTTP request to fail, set the span status to Error and record ErrorType(err) from go.opentelemetry.io/otel/semconv/v1.43.0 on the span. (#9624)

Fixed

  • Treat empty Prometheus exporter environment variable values as unset in go.opentelemetry.io/contrib/exporters/autoexport, restoring the documented defaults. (#9636)
  • Bound converter-owned recursive map, slice, array, and pointer traversal in go.opentelemetry.io/contrib/bridges/otellogr, go.opentelemetry.io/contrib/bridges/otellogrus, go.opentelemetry.io/contrib/bridges/otelslog, and go.opentelemetry.io/contrib/bridges/otelzap. A field requiring more than 100 such levels is replaced with <max-depth-exceeded> and the record continues to be emitted. Existing fmt and user-method behavior remains unchanged. (#9691)
  • Format span attributes in go.opentelemetry.io/contrib/zpages using attribute.Value.String instead of the deprecated attribute.Value.Emit, following the OpenTelemetry AnyValue representation for non-OTLP protocols. (#9453)
  • Set error.type on the span and on the request-duration, request-body-size, and response-body-size metrics when a client disconnects mid-request in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, using the request context's cancellation error as the classification source when the handler has not already recorded an error via c.Error. Previously a disconnect was recorded with span status Error and no error.type, indistinguishable from a genuine server fault. (#9394)
  • Report Prometheus metrics HTTP server errors in go.opentelemetry.io/contrib/otelconf when using the v0.2.0 configuration schema. The error check was inverted, so a clean shutdown (http.ErrServerClosed) was reported as unexpected while real Serve errors were ignored. (#9653)
  • Fix temporary file cleanup for multipart requests in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp by copying the parsed multipart form back to the original request during deferred cleanup, preserving net/http cleanup during panic unwinding for HTTP/2 panic handling and outer recovery middleware paths. Unrecovered HTTP/1 handler panics remain uncleaned because net/http skips finishRequest in that path. (#9685)
  • Fix http.client.request.body.size recording for streaming request bodies in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8684)
  • Bound Kubernetes ConfigMap requests in go.opentelemetry.io/contrib/detectors/aws/eks with a 10-second timeout so Detect cannot hang indefinitely when the caller-provided context has no deadline. (#9419)

Removed

  • Drop support for [Go 1.25]. (#9584)
  • Remove go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. Use github.com/labstack/echo-opentelemetry instead. (#9613)
Commits
  • 0c76f61 Release v1.47.0/v2.6.0/v0.72.0/v0.38.0/v0.27.0/v0.21.0/v0.17.0/v0.19.0 (#9802)
  • 318f5f9 Add timeout on Kubernetes API calls for EKS detector (#9419)
  • f848a15 test(detector/ecs): increase unit test coverage (#9774)
  • c0d84de Restore gofumpt clothe-returns and balance-calls (#9793)
  • 6215054 fix(deps): update aws-sdk-go-v2 monorepo (#9785)
  • 9a2e8ea fix(deps): update kubernetes monorepo to v0.37.1
  • 3d8e338 chore(deps): update sigs.k8s.io/json digest to 11ed52e
  • be5b688 chore(deps): update go-openapi packages
  • e382b4d chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.4
  • 97f9e88 fix(deps): update module github.com/moby/moby/client to v0.6.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

…http

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.71.0...zpages/v0.72.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-version: 0.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 6, 2026
@coder-backporter-app

Copy link
Copy Markdown

Backport to release/2.34 created: #32527 (:warning: conflicts need manual resolution)

@coder-backporter-app

Copy link
Copy Markdown

Backport to release/2.37 created: #32529 (:warning: conflicts need manual resolution)

@coder-backporter-app

Copy link
Copy Markdown

Backport to release/2.29 created: #32528 (:warning: conflicts need manual resolution)

@coder-backporter-app

Copy link
Copy Markdown

Backport to release/2.39 created: #32530 (:warning: conflicts need manual resolution)

@coder-backporter-app

Copy link
Copy Markdown

Backport to release/2.38 created: #32531

coder-superblink Bot pushed a commit that referenced this pull request Nov 20, 2026
Backport of #30409 to release/2.37. The automatic cherry-pick conflicted
because this branch starts from older OpenTelemetry versions, so the
bump was redone with go get and go mod tidy.

Bumps go.opentelemetry.io/otel, otel/sdk, otel/trace, otel/metric and
otel/sdk/metric to v1.47.0 and otelhttp to v0.72.0 to fix
CVE-2026-128086 (GHSA-rrfc-gjm9-cgrj) in otel/baggage and
otel/propagation.

Refs: SEC-1663
coder-superblink Bot pushed a commit that referenced this pull request Nov 20, 2026
Backport of #30409 to release/2.34. The automatic cherry-pick conflicted
because this branch starts from older OpenTelemetry versions, so the
bump was redone with go get and go mod tidy.

Bumps go.opentelemetry.io/otel, otel/sdk, otel/trace, otel/metric and
otel/sdk/metric to v1.47.0 and otelhttp to v0.72.0 to fix
CVE-2026-128086 (GHSA-rrfc-gjm9-cgrj) in otel/baggage and
otel/propagation.

Refs: SEC-1663
coder-superblink Bot pushed a commit that referenced this pull request Nov 20, 2026
Backport of #30409 to release/2.29. The automatic cherry-pick conflicted
because this branch starts from older OpenTelemetry versions, so the
bump was redone with go get and go mod tidy.

Bumps go.opentelemetry.io/otel, otel/sdk, otel/trace, otel/metric and
otel/sdk/metric to v1.47.0 and otelhttp to v0.72.0 to fix
CVE-2026-128086 (GHSA-rrfc-gjm9-cgrj) in otel/baggage and
otel/propagation.

Refs: SEC-1663
@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

SEC-1663

droopy4096 pushed a commit that referenced this pull request Nov 20, 2026
…30409) (#32527)

Backport of #30409 to `release/2.34`
for [SEC-1663](https://linear.app/codercom/issue/SEC-1663): fixes
CVE-2026-128086
([GHSA-rrfc-gjm9-cgrj](GHSA-rrfc-gjm9-cgrj))
in `go.opentelemetry.io/otel/baggage` and `otel/propagation`, fixed in
v1.47.0.

Original PR: #30409
Merge commit: 10c5009
Requested by: @droopy4096

## Conflict resolution

The automatic cherry-pick conflicted because this branch starts from
OpenTelemetry v1.45.0. The placeholder commit was replaced with a fresh
`go get` + `go mod tidy` on top of `release/2.34`:

- `go.opentelemetry.io/otel`, `otel/sdk`, `otel/trace`, `otel/metric`,
`otel/sdk/metric`: v1.45.0 → v1.47.0
- `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`:
v0.69.0 → v0.72.0
- `go.opentelemetry.io/otel/log` v1.47.0 added as indirect (same as
#30409)

Pulled in by the new minimum requirements:

- `github.com/stretchr/testify`: v1.11.1 → v1.12.1 (drops the indirect
`github.com/pmezard/go-difflib`)
- `go.yaml.in/yaml/v3`: v3.0.4 → v3.0.5

The OTLP trace exporters stay at v1.44.0, as #30409 left them.

## Verification

On Go 1.26.10:

- `go build ./...` passes
- `go vet ./...` compiles every package and test. It reports only the
same `copylocks`/`stdmethods` findings in Coder code that already exist
on the branch, unrelated to this change.
- `go test ./coderd/tracing/...` passes

Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
droopy4096 pushed a commit that referenced this pull request Nov 20, 2026
…30409) (#32528)

Backport of #30409 to `release/2.29`
for [SEC-1663](https://linear.app/codercom/issue/SEC-1663): fixes
CVE-2026-128086
([GHSA-rrfc-gjm9-cgrj](GHSA-rrfc-gjm9-cgrj))
in `go.opentelemetry.io/otel/baggage` and `otel/propagation`, fixed in
v1.47.0.

Original PR: #30409
Merge commit: 10c5009
Requested by: @droopy4096

## Conflict resolution

The automatic cherry-pick conflicted because this branch starts from
OpenTelemetry v1.45.0. The placeholder commit was replaced with a fresh
`go get` + `go mod tidy` on top of `release/2.29`:

- `go.opentelemetry.io/otel`, `otel/sdk`, `otel/trace`, `otel/metric`,
`otel/sdk/metric`: v1.45.0 → v1.47.0
- `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`:
v0.69.0 (indirect) → v0.72.0
- `go.opentelemetry.io/otel/log` v1.47.0 added as indirect (same as
#30409)

Pulled in by the new minimum requirements:

- `github.com/stretchr/testify`: v1.11.1 → v1.12.1 (drops the indirect
`github.com/pmezard/go-difflib`)
- `go.yaml.in/yaml/v3`: v3.0.4 → v3.0.5

The OTLP trace exporters stay at v1.44.0, as #30409 left them.

## Verification

On Go 1.26.10:

- `go build ./...` passes
- `go vet ./...` compiles every package and test. It reports only the
same `copylocks`/`stdmethods` findings in Coder code that already exist
on the branch, unrelated to this change.
- `go test ./coderd/tracing/...` passes

Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
droopy4096 pushed a commit that referenced this pull request Nov 20, 2026
…http from 0.71.0 to 0.72.0 (#30409) (#32531)

Backport of #30409

Original PR: #30409 — chore: bump
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from
0.71.0 to 0.72.0
Merge commit: 10c5009
Requested by: @droopy4096

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
droopy4096 pushed a commit that referenced this pull request Nov 20, 2026
…30409) (#32529)

Backport of #30409 to `release/2.37`
for [SEC-1663](https://linear.app/codercom/issue/SEC-1663): fixes
CVE-2026-128086
([GHSA-rrfc-gjm9-cgrj](GHSA-rrfc-gjm9-cgrj))
in `go.opentelemetry.io/otel/baggage` and `otel/propagation`, fixed in
v1.47.0.

Original PR: #30409
Merge commit: 10c5009
Requested by: @droopy4096

## Conflict resolution

The automatic cherry-pick conflicted because this branch starts from
OpenTelemetry v1.45.0. The placeholder commit was replaced with a fresh
`go get` + `go mod tidy` on top of `release/2.37`:

- `go.opentelemetry.io/otel`, `otel/sdk`, `otel/trace`, `otel/metric`,
`otel/sdk/metric`: v1.45.0 → v1.47.0
- `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`:
v0.70.0 → v0.72.0
- `go.opentelemetry.io/otel/log` v1.47.0 added as indirect (same as
#30409)

Pulled in by the new minimum requirements:

- `github.com/stretchr/testify`: v1.12.0 → v1.12.1
- `go.yaml.in/yaml/v3`: v3.0.4 → v3.0.5

The OTLP trace exporters stay at v1.44.0, as #30409 left them.

## Verification

On Go 1.26.10:

- `go build ./...` passes
- `go vet ./...` compiles every package and test. It reports only the
same `copylocks`/`stdmethods` findings in Coder code that already exist
on the branch, unrelated to this change.
- `go test ./coderd/tracing/...` passes

Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
main — 727e4261 Deployed Nov 20, 2026 by droopy4096 via Backport to release/2.38 #7230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant