Skip to content

CLOUD-727: Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.60.0 to 0.61.0 #1157

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2025

CLOUD-727 Powered by Pull Request Badge

Bumps go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.60.0 to 0.61.0.

Release notes

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

Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0

Overview

Added

  • http.route attribute to otelhttp server request spans, when net/http.Request.Pattern is set in the modules below. (#6905, #6937)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelzap. (#6962)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelslog. (#6965)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogrus. (#6966)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogr. (#6967)
  • Add the WithGinMetricAttributes option to allow setting dynamic, per-request metric attributes based on *gin.Context in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932)
  • Use Gin's own ClientIP method to detect the client's IP, which supports custom proxy headers in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6095)
  • Added test for Fields in go.opentelemetry.io/contrib/propagators/jaeger. (#7119)
  • Allow configuring samplers in go.opentelemetry.io/contrib/otelconf. (#7148)
  • Slog log bridge now sets SeverityText attribute using source value in go.opentelemetry.io/contrib/bridges/otelslog. (#7198)
  • Add http.route metric attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275)
  • Add the WithSpanStartOptions option to add custom options to new spans go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261)
  • Add instrumentation support for go.mongodb.org/mongo-driver/v2 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#6539)
  • Rerun the span name formatter after the request ran if a req.Pattern is set, so the span name can include it in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7192)

Changed

  • Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as trace.TraceIDRatioBased in go.opentelemetry.io/contrib/samplers/jaegerremote. (#6892)

  • Switched the default for OTEL_SEMCONV_STABILITY_OPT_IN to emit the v1.26.0 semantic conventions by default in the following modules.

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp The OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (#6899)
  • Improve performance by reducing allocations for http request when using OTEL_SEMCONV_STABILITY_OPT_IN=http/dup in the modules below. (#7180)

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in go.opentelemetry.io/contrib/samplers/jaegerremote. (#7061)

  • Improve performance by reducing allocations in the gRPC stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7186)

  • Update http.route attribute to support request.Pattern in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7108)

  • Change the default span name to be GET /path so it complies with the HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6381)

  • Set url.scheme attribute to the request URL.Scheme when possible for HTTP client metrics in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6938)

... (truncated)

Changelog

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

[1.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0] - 2025-05-21

Added

  • http.route attribute to otelhttp server request spans, when net/http.Request.Pattern is set in the modules below. (#6905, #6937)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelzap. (#6962)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelslog. (#6965)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogrus. (#6966)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogr. (#6967)
  • Add the WithGinMetricAttributes option to allow setting dynamic, per-request metric attributes based on *gin.Context in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932)
  • Use Gin's own ClientIP method to detect the client's IP, which supports custom proxy headers in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6095)
  • Added test for Fields in go.opentelemetry.io/contrib/propagators/jaeger. (#7119)
  • Allow configuring samplers in go.opentelemetry.io/contrib/otelconf. (#7148)
  • Slog log bridge now sets SeverityText attribute using source value in go.opentelemetry.io/contrib/bridges/otelslog. (#7198)
  • Add http.route metric attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275)
  • Add the WithSpanStartOptions option to add custom options to new spans go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261)
  • Add instrumentation support for go.mongodb.org/mongo-driver/v2 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#6539)
  • Rerun the span name formatter after the request ran if a req.Pattern is set, so the span name can include it in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7192)

Changed

  • Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as trace.TraceIDRatioBased in go.opentelemetry.io/contrib/samplers/jaegerremote. (#6892)

  • Switched the default for OTEL_SEMCONV_STABILITY_OPT_IN to emit the v1.26.0 semantic conventions by default in the following modules.

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp The OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (#6899)
  • Improve performance by reducing allocations for http request when using OTEL_SEMCONV_STABILITY_OPT_IN=http/dup in the modules below. (#7180)

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in go.opentelemetry.io/contrib/samplers/jaegerremote. (#7061)

  • Improve performance by reducing allocations in the gRPC stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7186)

  • Update http.route attribute to support request.Pattern in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7108)

  • Change the default span name to be GET /path so it complies with the HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6381)

  • Set url.scheme attribute to the request URL.Scheme when possible for HTTP client metrics in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6938)

  • The semantic conventions have been upgraded from v1.17.0 to v1.30.0 in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7270)

... (truncated)

Commits
  • 934fb13 Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0 (#7350)
  • ea9b739 fix(deps): update module github.com/labstack/echo/v4 to v4.13.4 (#7352)
  • 461e409 otelhttp: Add client-side test for OTEL_SEMCONV_STABILITY_OPT_IN=http/dup w...
  • a91d747 chore(deps): update module github.com/uudashr/iface to v1.4.0 (#7346)
  • 394163b fix(deps): update module github.com/gin-gonic/gin to v1.10.1 (#7344)
  • d1b0749 fix(deps): update go.opentelemetry.io/otel digest to e578799 (#7342)
  • b76d20b chore(deps): update googleapis to 55703ea (#7341)
  • 2896fea refactor: move example from otelmux to make it a testable example (#7121)
  • 158bafc feat: Support mixed categories for semconv opt-in (#7274)
  • a35d2d8 refactor: move example from otelgin to make it a testable example (#7328)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

…otelhttp

Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.60.0 to 0.61.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.60.0...zpages/v0.61.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested review from egegunes, gkech and hors May 27, 2025 01:25
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 27, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@JNKPercona
Copy link
Collaborator

Test name Status
backup-enable-disable passed
custom-extensions passed
custom-tls passed
demand-backup passed
finalizers passed
init-deploy passed
monitoring passed
monitoring-pmm3 passed
one-pod passed
operator-self-healing passed
pitr passed
scaling passed
scheduled-backup passed
self-healing failure
sidecars passed
start-from-backup passed
tablespaces passed
telemetry-transfer passed
upgrade-consistency passed
upgrade-minor passed
users passed
We run 21 out of 21

commit: 74749d3
image: perconalab/percona-postgresql-operator:PR-1157-74749d3c6

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

Successfully merging this pull request may close these issues.

1 participant