Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Nov 19, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/contrib/detectors/gcp v1.32.0v1.40.0 age confidence
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0v0.65.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.40.0: /v2.2.0/v0.65.0/v0.34.0/v0.20.0/v0.15.0/v0.13.0/v0.12.0

Compare Source

Overview

Added
  • WithMetricAttributesFn option in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to define dynamic attributes on auto-instrumented metrics. (#​8191)
  • Add support for configuring propagators in go.opentelemetry.io/contrib/otelconf. (#​8281)
  • Add const Version in go.opentelemetry.io/contrib/bridges/prometheus. (#​8401)
  • Add const Version in go.opentelemetry.io/contrib/otelconf. (#​8461)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otellogr. (#​8477)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otellogrus. (#​8485)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otelslog. (#​8480)
Fixed
  • Fix panic when passing nil TracerProvider or MeterProvider to WithTracerProvider or WithMeterProvider in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​8323)
  • Transport in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp now supports reading request body multiple times for subsequent requests that reuse http.Request. (#​8352)
Changed
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp has been replaced by const Version. (#​8142)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace has been replaced by const Version. (#​8302)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc has been replaced by const Version. (#​8317)
  • The Version() function in go.opentelemetry.io/contrib/zpages has been replaced by const Version. (#​8325)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo has been replaced by const Version. (#​8340)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin has been replaced by const Version. (#​8341)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/runtime has been replaced by const Version string. (#​8349)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws has been replaced by const Version. (#​8356)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda has been replaced by const Version. (#​8357)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/host has been replaced by const Version. (#​8358)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful has been replaced by const Version. (#​8360)
  • The Version() function in go.opentelemetry.io/contrib/propagators/opencensus has been replaced by const Version. (#​8361)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho has been replaced by const Version. (#​8365)
  • The Version() function in go.opentelemetry.io/contrib/samplers/probability/consistent has been replaced by const Version. (#​8366)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo has been replaced by const Version. (#​8370)
  • Set error.type attribute instead of adding exception span events in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#​8386)
  • Set error.type attribute instead of adding exception span events in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#​8386)
  • Upgrade go.opentelemetry.io/otel/semconv to v1.39.0, including updates across all instrumentation and detector modules. (#​8404)
    • The semantic conventions v1.39.0 release introduces breaking changes, including:

      • rpc span and metric attributes have been renamed to align with naming guidelines:
        • rpc.systemrpc.system.name (values: grpc, grpc_web, connectrpc, thrift, dubbo, etc.)
        • rpc.method and rpc.service have been merged into a fully-qualified rpc.method attribute
        • rpc.client|server.durationrpc.client|server.call.duration (unit changed to seconds)
        • rpc.grpc.request.metadata/rpc.grpc.response.metadatarpc.request.metadata/rpc.response.metadata
        • rpc.grpc.status_code → deprecated in favor of rpc.response.status_code
        • rpc.jsonrpc.request_idjsonrpc.request.id
        • rpc.jsonrpc.versionjsonrpc.protocol.version
      • system and process metrics:
        • *.linux.memory metrics renamed to *.memory.linux
        • system.process.statusprocess.state
        • system.paging.type and process.paging.fault_typesystem.paging.fault.type
      • peer.service attribute has been deprecated in favor of service.peer.name

      See semantic-conventions v1.39.0 release and v1.38.0 release for complete breaking change details.

    • Updated modules include:

      • go.opentelemetry.io/contrib/bridges/otellogr
      • go.opentelemetry.io/contrib/bridges/otellogrus
      • go.opentelemetry.io/contrib/bridges/otelslog
      • go.opentelemetry.io/contrib/bridges/otelzap
      • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
        • Uses service.peer.name attribute (deprecated peer.service)
      • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
      • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
        • Merged rpc.method and rpc.service into fully-qualified rpc.method (e.g., grpc.testing.TestService/EmptyCall)
        • rpc.systemrpc.system.name with updated values (e.g., RPCSystemNameGRPC)
        • rpc.grpc.status_coderpc.response.status_code (e.g., RPCResponseStatusCode("OK"))
      • go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
        • Merged rpc.method and rpc.service attributes (service/operation → fully-qualified method)
        • rpc.systemrpc.system.name with AWSSystemVal
        • New MethodAttr() function for combined service/operation attribute
      • go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda
      • go.opentelemetry.io/contrib/instrumentation/runtime
      • go.opentelemetry.io/contrib/instrumentation/host
      • go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver (both v1 and v2)
      • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
      • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
      • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
      • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
      • go.opentelemetry.io/contrib/detectors/gcp
      • go.opentelemetry.io/contrib/detectors/aws/ec2/v2
      • go.opentelemetry.io/contrib/detectors/aws/ecs
      • go.opentelemetry.io/contrib/detectors/aws/eks
      • go.opentelemetry.io/contrib/detectors/azure/azurevm
      • go.opentelemetry.io/contrib/otelconf
Deprecated
  • ServiceAttr() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws is deprecated. Use MethodAttr() instead, as rpc.service has been merged into rpc.method in semantic conventions v1.39.0. (#​8404)
  • OperationAttr() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws is deprecated. Use MethodAttr() instead, as rpc.service has been merged into rpc.method in semantic conventions v1.39.0. (#​8404)
Removed
  • The deprecated DefaultClient, Get, Head, Post, and PostForm in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use a custom *http.Client with otelhttp.NewTransport(http.DefaultTransport) instead. (#​8266)
  • The deprecated WithPublicEndpoint in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use WithPublicEndpointFn instead. (#​8267)
  • The deprecated WithRouteTag in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The route is already added automatically for spans. For metrics, the alternative is to use the WithMetricAttributesFn option. (#​8268)

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go-contrib@v1.39.0...v1.40.0

v1.39.0: /v2.1.0/v0.64.0/v0.33.0/v0.19.0/v0.14.0/v0.12.0/v0.11.0

Compare Source

Overview

Added
  • ParseYAML in go.opentelemetry.io/contrib/otelconf now supports environment variables substitution in the format ${[env:]VAR_NAME[:-defaultvalue]}. (#​6215)
  • Add the http.route metric attribute to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#​7966)
  • Support db.client.operation.duration metric for go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#​7983)
  • Add a WithSpanNameFormatter option to go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#​7986)
  • WithOnError option for otelecho middleware in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho to specify the behavior when an error occurs. (#​8025)
  • Updated go.opentelemetry.io/contrib/otelconf to include the v1.0.0-rc2 release candidate of schema which includes backwards incompatible changes. (#​8026)
  • Introduce v1.0.0-rc.2 model in go.opentelemetry.io/contrib/otelconf. (#​8031)
  • Add unmarshaling and validation for CardinalityLimits and SpanLimits to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#​8043)

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@forking-renovate
Copy link

forking-renovate bot commented Nov 19, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go mod tidy
go: downloading gonum.org/v1/gonum v0.16.0
go: downloading github.com/envoyproxy/go-control-plane/envoy v1.35.0
go: downloading github.com/envoyproxy/go-control-plane v0.13.5-0.20251024222203-75eaa193e329
go: downloading github.com/cncf/xds/go v0.0.0-20251022180443-0feb69152e9f
go: downloading github.com/envoyproxy/protoc-gen-validate v1.2.1
go: downloading github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10
go: downloading golang.org/x/tools v0.40.0
go: finding module for package go.opentelemetry.io/otel/sdk/internal/internaltest
go: downloading go.opentelemetry.io v0.1.0
go: github.com/openconfig/lemming/internal/telemetry imports
	go.opentelemetry.io/otel/sdk/log tested by
	go.opentelemetry.io/otel/sdk/log.test imports
	go.opentelemetry.io/otel/sdk/internal/internaltest: module go.opentelemetry.io/otel/sdk@latest found (v1.40.0), but does not contain package go.opentelemetry.io/otel/sdk/internal/internaltest

@renovate-bot renovate-bot requested a review from a team as a code owner November 19, 2025 06:05
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from d8082e6 to 299c89b Compare November 25, 2025 20:26
@renovate-bot renovate-bot changed the title chore(all): update opentelemetry-go-contrib monorepo chore(all): update module go.opentelemetry.io/contrib/detectors/gcp to v1.38.0 Nov 25, 2025
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 299c89b to 8b605c8 Compare November 26, 2025 02:00
@renovate-bot renovate-bot changed the title chore(all): update module go.opentelemetry.io/contrib/detectors/gcp to v1.38.0 chore(all): update opentelemetry-go-contrib monorepo Nov 26, 2025
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 2 times, most recently from 338f708 to d01fb50 Compare December 15, 2025 17:33
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 14a8eca to 82df36e Compare January 9, 2026 22:15
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 82df36e to de998d5 Compare February 2, 2026 18:08
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from de998d5 to ef2ca60 Compare February 2, 2026 23:39
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.

1 participant