Skip to content

Release v1.40.0/v2.2.0/v0.65.0/v0.34.0/v0.20.0/v0.15.0/v0.13.0/v0.12.0#8493

Merged
MrAlias merged 12 commits into
open-telemetry:mainfrom
MrAlias:release-v1.40.0
Feb 2, 2026
Merged

Release v1.40.0/v2.2.0/v0.65.0/v0.34.0/v0.20.0/v0.15.0/v0.13.0/v0.12.0#8493
MrAlias merged 12 commits into
open-telemetry:mainfrom
MrAlias:release-v1.40.0

Conversation

@MrAlias
Copy link
Copy Markdown
Contributor

@MrAlias MrAlias commented Feb 2, 2026

Added

Fixed

Changed

  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp has been replaced by const Version. (refactor(otelhttp): change Version() func to const Version string #8142)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace has been replaced by const Version. (Switch version from function to string in otelhttptrace #8302)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc has been replaced by const Version. (Switch version from function to string in otelgrpc #8317)
  • The Version() function in go.opentelemetry.io/contrib/zpages has been replaced by const Version. (Switch version from function to string in zpages #8325)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo has been replaced by const Version. (Switch version from function to string in otelmongo #8340)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin has been replaced by const Version. (refactor(otelgin): switch version from function to string #8341)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/runtime has been replaced by const Version string. (Switch version from function to string in runtime #8349)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws has been replaced by const Version. (Switch version from function to string in otelaws #8356)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda has been replaced by const Version. (Switch version from function to string in otellambda #8357)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/host has been replaced by const Version. (Switch version from function to string in host #8358)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful has been replaced by const Version. (Switch version from function to string in otelrestful #8360)
  • The Version() function in go.opentelemetry.io/contrib/propagators/opencensus has been replaced by const Version. (Switch version from function to string in opencensus #8361)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho has been replaced by const Version. (Switch version from function to string in otelecho #8365)
  • The Version() function in go.opentelemetry.io/contrib/samplers/probability/consistent has been replaced by const Version. (chore(deps): update module github.com/goccy/go-yaml to v1.19.2 #8366)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo has been replaced by const Version. (Switch version from function to string in otelmongo v2 #8370)
  • Set error.type attribute instead of adding exception span events in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (instrumentation: update error handling to set attributes instead of recording errors #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. (instrumentation: update error handling to set attributes instead of recording errors #8386)
  • Upgrade go.opentelemetry.io/otel/semconv to v1.39.0, including updates across all instrumentation and detector modules. (Bump to semconv/v1.39.0 #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. (Bump to semconv/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. (Bump to semconv/v1.39.0 #8404)

Removed

@MrAlias MrAlias added this to the v1.40.0 milestone Feb 2, 2026
@MrAlias MrAlias changed the title Release v1.40.0 Release v1.40.0/v2.2.0/v0.65.0/v0.34.0/v0.20.0/v0.15.0/v0.13.0/v0.12.0 Feb 2, 2026
@MrAlias MrAlias added the Unlock Released Changelog PRs that need to change released section in CHANGELOG.md label Feb 2, 2026
@MrAlias MrAlias marked this pull request as ready for review February 2, 2026 18:23
@MrAlias MrAlias requested a review from dashpole as a code owner February 2, 2026 18:23
Copilot AI review requested due to automatic review settings February 2, 2026 18:23
@MrAlias MrAlias requested review from a team, dmathieu, flc1125 and pellared as code owners February 2, 2026 18:23
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.2%. Comparing base (1530d71) to head (8d46d9f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #8493   +/-   ##
=====================================
  Coverage   82.2%   82.2%           
=====================================
  Files        179     179           
  Lines      13705   13705           
=====================================
  Hits       11278   11278           
  Misses      2029    2029           
  Partials     398     398           
Files with missing lines Coverage Δ
detectors/aws/ecs/version.go 50.0% <100.0%> (ø)
detectors/aws/eks/version.go 50.0% <100.0%> (ø)
detectors/gcp/version.go 50.0% <100.0%> (ø)
...entation/github.com/gorilla/mux/otelmux/version.go 100.0% <100.0%> (ø)
propagators/aws/version.go 50.0% <100.0%> (ø)
propagators/b3/version.go 50.0% <100.0%> (ø)
propagators/jaeger/version.go 50.0% <100.0%> (ø)
propagators/ot/version.go 50.0% <100.0%> (ø)
samplers/jaegerremote/version.go 100.0% <100.0%> (ø)
version.go 50.0% <100.0%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This is a coordinated release PR that bumps versions across multiple OpenTelemetry Go Contrib modules. The release updates dependency versions from pre-release versions (e.g., v1.39.1-0.20260130171517-3264bf171b1e) to stable release versions (e.g., v1.40.0, v0.65.0, etc.).

Changes:

  • Version bumps for stable-v1 (v1.39.0 → v1.40.0), stable-v2 (v2.1.0 → v2.2.0), experimental modules (v0.64.0 → v0.65.0), and other module sets
  • Updates to OpenTelemetry SDK dependencies from pre-release to v1.40.0/v0.16.0 across all modules
  • Version constant updates in version.go files across all packages

Reviewed changes

Copilot reviewed 90 out of 146 changed files in this pull request and generated no comments.

File Description
versions.yaml Central version configuration updated for all module sets
version.go (multiple) Version constants updated to match new releases
go.mod (multiple) Dependency versions updated to stable releases
go.sum (multiple) Checksums updated for new dependency versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MrAlias MrAlias merged commit a89d958 into open-telemetry:main Feb 2, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Unlock Released Changelog PRs that need to change released section in CHANGELOG.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants