Skip to content

fix(deps): update opentelemetry-go-contrib monorepo #820

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

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 22, 2025

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/contrib/detectors/aws/ec2 v1.34.0 -> v1.37.0 age confidence
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.59.0 -> v0.62.0 age confidence
go.opentelemetry.io/contrib/propagators/aws v1.34.0 -> v1.37.0 age confidence

Release Notes

open-telemetry/opentelemetry-go-contrib (go.opentelemetry.io/contrib/detectors/aws/ec2)

v1.37.0: Release 1.37.0/0.62.0/0.31.0/0.17.0/0.12.0/0.10.0/0.9.0

Compare Source

Added
  • Add the WithPublicEndpoint and WithPublicEndpointFn options to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​7407)
Changed
  • go.opentelemetry.io/contrib/instrumentation/runtime now produces the new metrics by default. Set OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true environment variable to additionally produce the deprecated metrics. (#​7418)
  • The semantic conventions have been upgraded from v1.30.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​7361)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/ec2. (#​7373, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/eks. (#​7375, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/ecs. (#​7374, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/lambda. (#​7376, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/azure/azurevm. (#​7377, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otelslog. (#​7361, #​7484)
  • The semantic conventions have been upgraded from v1.27.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otellogr. (#​7387, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otelzap. (#​7389, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/gcp. (#​7378, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#​7383, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#​7383, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#​7383, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#​7383, #​7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#​7383, #​7484)
  • The semantic conventions have been upgraded in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo to v1.34.0. (#​7393, #​7484)
  • The semantic conventions have been upgraded in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo to v1.34.0. (#​7393, #​7484)
  • The semantic conventions have been upgraded in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws to v1.34.0. (#​7394, #​7484)
    • The messaging.system=AmazonSQS attribute has been corrected to messaging.system=aws.sqs.
    • The net.peer.addr attribute key has been upgraded to server.address.
    • The http.status_code attribute key has been upgraded to http.response.status_code.
    • The db.system=dynamodb attribute has been corrected to db.system.name=aws.dynamodb.
    • The deprecated messaging.operation.type=publish attribute has been corrected to messaging.operation.type=send.
  • The semantic conventions have been upgraded from v1.21.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#​7400, #​7484)
  • The semantic conventions in go.opentelemetry.io/contrib/instrumentation/host have been upgraded to v1.34.0. (#​7390, #​7484)
    • The description of process.cpu.time is updated to comply with semantic conventions.
    • process.cpu.time now uses the state attribute instead of cpu.mode.
    • The system.cpu.time metric is renamed to cpu.time.
    • cpu.time now uses the state attribute instead of cpu.mode.
    • system.memory.usage now uses the state attribute instead of system.memory.state.
    • system.memory.utilization now uses the state attribute instead of system.memory.state.
    • The system.memory.state attribute (now state) value of available is now free instead.
Deprecated
  • AttributeCPUTimeUser in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeCPUTimeSystem in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeCPUTimeOther in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeCPUTimeIdle in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeMemoryAvailable in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeMemoryUsed in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeNetworkTransmit in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
  • AttributeNetworkReceive in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#​7390)
Fixed
  • Fix EKS detector erroring outside of Kubernetes in go.opentelemetry.io/contrib/detectors/aws/eks. (#​7483)
  • Fix data race when writing log entries with context.Context fields in go.opentelemetry.io/contrib/bridges/otelzap. (#​7368)
  • Fix nil pointer dereference when ClientTracer did not have a span in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#​7464)
  • Record all non-failure metrics on transport round trip errors in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#​7146)
Removed
  • The deprecated StreamServerInterceptor function from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is removed. (#​7362)

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go-contrib@v1.36.0...v1.37.0

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

Compare Source

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](https://redirect.github.com/open-telemetry/opentelemetry-g


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Mar 22, 2025

ℹ Artifact update notice

File name: src/catalog/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 11 additional dependencies were updated

Details:

Package Change
github.com/aws/aws-sdk-go v1.55.6 -> v1.55.7
github.com/bytedance/sonic v1.12.7 -> v1.13.3
github.com/bytedance/sonic/loader v0.2.3 -> v0.2.4
github.com/gabriel-vasile/mimetype v1.4.8 -> v1.4.9
github.com/klauspost/cpuid/v2 v2.2.9 -> v2.2.11
golang.org/x/arch v0.13.0 -> v0.18.0
github.com/gin-contrib/sse v1.0.0 -> v1.1.0
github.com/go-playground/validator/v10 v10.24.0 -> v10.26.0
github.com/goccy/go-json v0.10.4 -> v0.10.5
github.com/pelletier/go-toml/v2 v2.2.3 -> v2.2.4
github.com/ugorji/go/codec v1.2.12 -> v1.3.0

@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 3 times, most recently from 2a2f8ef to bf57d82 Compare March 23, 2025 05:04
@renovate renovate bot changed the title fix(deps): update opentelemetry-go-contrib monorepo fix(deps): update opentelemetry-go-contrib monorepo to v1.35.0 May 22, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from bf57d82 to caa1d95 Compare May 22, 2025 20:39
@renovate renovate bot changed the title fix(deps): update opentelemetry-go-contrib monorepo to v1.35.0 fix(deps): update opentelemetry-go-contrib monorepo May 22, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 20 times, most recently from b7a9c48 to 43a698b Compare July 2, 2025 20:29
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 43a698b to 061f989 Compare July 3, 2025 04:06
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 7 times, most recently from a6e3fa3 to b73d7c1 Compare July 3, 2025 12:15
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from b73d7c1 to c0410ee Compare July 3, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants