Skip to content

fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.42.0#1167

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/opentelemetry-go-contrib-monorepo
Open

fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.42.0#1167
renovate[bot] wants to merge 1 commit intomainfrom
renovate/opentelemetry-go-contrib-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/contrib/detectors/gcp v1.36.0v1.42.0 age adoption passing confidence

Release Notes

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

v1.42.0: /v2.4.0/v0.67.0/v0.36.0/v0.22.0/v0.17.0/v0.15.0/v0.14.0

Compare Source

Added
  • Add environment variables propagation carrier in go.opentelemetry.io/contrib/propagators/envcar. (#​8442)
Changed
  • Upgrade go.opentelemetry.io/otel/semconv to v1.40.0, including updates across instrumentation and detector modules. (#​8631)

    • The semantic conventions v1.40.0 release introduces RPC breaking changes applied in this repository:
      • RPC spans and metrics no longer include network.protocol.name, network.protocol.version, or network.transport attributes.
      • rpc.client.request.size, rpc.client.response.size, rpc.server.request.size, and rpc.server.response.size are no longer emitted in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.
      • rpc.message span events and their message attributes are no longer emitted in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc (including when WithMessageEvents is configured).

    See semantic-conventions v1.40.0 release for complete details.

Fixed
  • Ignore informational response status codes (100-199) except 101 Switching Protocols when storing the HTTP status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp and go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#​6913)
  • Make Body handling in Transport consistent with stdlib in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#​8618)
  • Fix bucket boundaries for rpc.server.call.duration and rpc.client.call.duration in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​8642)
  • Host resource detector in go.opentelemetry.io/contrib/otelconf now includes os. attributes. (#​8578)
Removed

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go-contrib@v1.41.0...v1.42.0

v1.41.0: /v2.3.0/v0.66.0/v0.35.0/v0.21.0/v0.16.0/v0.14.0/v0.13.0

Compare Source

This release is the last to support Go 1.24.
The next release will require at least Go 1.25.

Added
  • Add WithSpanKind option in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to override the default span kind. (#​8506)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otelzap. (#​8544)
  • Support testing of Go 1.26. (#​8549)
  • Add const Version in go.opentelemetry.io/contrib/detectors/autodetect. (#​8555)
  • Add const Version in go.opentelemetry.io/contrib/detectors/azure/azurevm. (#​8553)
  • Add const Version in go.opentelemetry.io/contrib/processors/baggagecopy. (#​8557)
  • Add const Version in go.opentelemetry.io/contrib/detectors/aws/lambda. (#​8510)
  • Add const Version in go.opentelemetry.io/contrib/propagators/autoprop. (#​8488)
  • Add const Version in go.opentelemetry.io/contrib/processors/minsev. (#​8590)
  • Add const Version in go.opentelemetry.io/contrib/exporters/autoexport. (#​8612)
Fixed
  • Change the rpc.server.call.duration metric value from milliseconds to seconds in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​8509)
  • Change the rpc.response.status_code attribute to the canonical UPPER_SNAKE_CASE format in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#​8565)
  • Enforce that client_certificate_file and client_key_file are provided together in go.opentelemetry.io/contrib/otelconf. (#​8450)
  • Fix broken CSS and JavaScript CDN URLs in go.opentelemetry.io/contrib/zpages by replacing the inaccessible code.getmdl.io CDN with cdnjs.cloudflare.com. (#​8502)
  • Use Prometheus translation strategy instead of deprecated funcs in go.opentelemetry.io/contrib/otelconf. (#​8595)
Removed
  • Remove the deprecated zipkin exporter example in go.opentelemetry.io/contrib/examples/zipkin. (#​8501)
Changed
  • Reduce allocations in the generated HTTP internal/semconv packages. (#​8511)
    Updated modules include:
    • 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 configuration schema used in go.opentelemetry.io/contrib/otelconf to rc.3. (#​8505)
Deprecated
  • WithMetricAttributesFn in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is deprecated and will be removed in a future release. Use Labeler instead. (#​8587)

What's Changed

New Contributors

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

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


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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@renovate renovate bot added the renovate label Jun 25, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 7 times, most recently from 8441e83 to 33a906c Compare July 2, 2025 23:51
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 6 times, most recently from 4659de3 to 3940db9 Compare July 11, 2025 06:44
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 8 times, most recently from 949945b to 2faa46f Compare July 19, 2025 10:09
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 6 times, most recently from 52429b3 to 9c2e018 Compare July 29, 2025 19:42
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 9c2e018 to a0cf859 Compare July 31, 2025 00:54
@renovate renovate bot changed the title fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.37.0 fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.38.0 Aug 31, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 4213a5b to 09006dc Compare August 31, 2025 14:30
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 5 times, most recently from 119bb7c to b251512 Compare September 16, 2025 14:17
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 3 times, most recently from 5cb8289 to a951639 Compare September 19, 2025 01:02
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 3 times, most recently from 1a430dd to 833860a Compare October 7, 2025 01:10
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 833860a to f27b681 Compare October 22, 2025 12:01
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from f27b681 to 238cf79 Compare November 5, 2025 08:04
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 2 times, most recently from 6603ef4 to 987065d Compare November 18, 2025 10:17
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 4 times, most recently from 33d4e9a to f93a7ea Compare November 29, 2025 22:52
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from f93a7ea to 1448669 Compare December 3, 2025 09:02
@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch from 1448669 to 50a7b3a Compare March 1, 2026 20:20
@renovate renovate bot changed the title fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.38.0 fix(deps): update module go.opentelemetry.io/contrib/detectors/gcp to v1.40.0 Mar 1, 2026
@renovate
Copy link
Contributor Author

renovate bot commented Mar 1, 2026

ℹ️ Artifact update notice

File name: backend/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):

  • 8 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.25.0
cloud.google.com/go/compute/metadata v0.8.0 -> v0.9.0
go.opentelemetry.io/otel v1.38.0 -> v1.42.0
go.opentelemetry.io/otel/sdk v1.38.0 -> v1.42.0
go.opentelemetry.io/otel/trace v1.38.0 -> v1.42.0
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0 -> v1.31.0
go.opentelemetry.io/auto/sdk v1.1.0 -> v1.2.1
go.opentelemetry.io/otel/metric v1.38.0 -> v1.42.0
golang.org/x/sys v0.35.0 -> v0.41.0

@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.79%. Comparing base (551bb31) to head (de01cef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1167      +/-   ##
==========================================
- Coverage   22.11%   19.79%   -2.32%     
==========================================
  Files          23       23              
  Lines        2157     2157              
==========================================
- Hits          477      427      -50     
- Misses       1633     1687      +54     
+ Partials       47       43       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/opentelemetry-go-contrib-monorepo branch 3 times, most recently from 4bf568b to cd2efea Compare March 2, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants