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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8493 +/- ##
=====================================
Coverage 82.2% 82.2%
=====================================
Files 179 179
Lines 13705 13705
=====================================
Hits 11278 11278
Misses 2029 2029
Partials 398 398
🚀 New features to boost your workflow:
|
dashpole
approved these changes
Feb 2, 2026
Contributor
There was a problem hiding this comment.
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.
dmathieu
approved these changes
Feb 2, 2026
XSAM
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
WithMetricAttributesFnoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto define dynamic attributes on auto-instrumented metrics. (otelgrpc: add MetricAttributesFn option to allow adding dynamic attributes on metrics #8191)go.opentelemetry.io/contrib/otelconf. (otelconf: add support for propagator configuration #8281)const Versioningo.opentelemetry.io/contrib/bridges/prometheus. (Add version file for prometheus bridge #8401)const Versioningo.opentelemetry.io/contrib/otelconf. (Add version file for otelconf module #8461)const Versioningo.opentelemetry.io/contrib/bridges/otellogr. (Add version file for otellogr bridge #8477)const Versioningo.opentelemetry.io/contrib/bridges/otellogrus. (Add version file for otellogrus bridge #8485)const Versioningo.opentelemetry.io/contrib/bridges/otelslog. (add version file for otelslog bridge #8480)Fixed
TracerProviderorMeterProvidertoWithTracerProviderorWithMeterProvideringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (fix(otelgrpc): prevent panic when nil TracerProvider or MeterProvider is passed #8323)Transportingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpnow supports reading request body multiple times for subsequent requests that reusehttp.Request. (fix: get body using request.GetBody to enable request reuse #8352)Changed
Version()function ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttphas been replaced byconst Version. (refactor(otelhttp): change Version() func to const Version string #8142)Version()function ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracehas been replaced byconst Version. (Switch version from function to string in otelhttptrace #8302)Version()function ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpchas been replaced byconst Version. (Switch version from function to string in otelgrpc #8317)Version()function ingo.opentelemetry.io/contrib/zpageshas been replaced byconst Version. (Switch version from function to string in zpages #8325)Version()function ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongohas been replaced byconst Version. (Switch version from function to string in otelmongo #8340)Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginhas been replaced byconst Version. (refactor(otelgin): switch version from function to string #8341)Version()function ingo.opentelemetry.io/contrib/instrumentation/runtimehas been replaced byconst Versionstring. (Switch version from function to string in runtime #8349)Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawshas been replaced byconst Version. (Switch version from function to string in otelaws #8356)Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambdahas been replaced byconst Version. (Switch version from function to string in otellambda #8357)Version()function ingo.opentelemetry.io/contrib/instrumentation/hosthas been replaced byconst Version. (Switch version from function to string in host #8358)Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulhas been replaced byconst Version. (Switch version from function to string in otelrestful #8360)Version()function ingo.opentelemetry.io/contrib/propagators/opencensushas been replaced byconst Version. (Switch version from function to string in opencensus #8361)Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechohas been replaced byconst Version. (Switch version from function to string in otelecho #8365)Version()function ingo.opentelemetry.io/contrib/samplers/probability/consistenthas been replaced byconst Version. (chore(deps): update module github.com/goccy/go-yaml to v1.19.2 #8366)Version()function ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongohas been replaced byconst Version. (Switch version from function to string in otelmongo v2 #8370)error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (instrumentation: update error handling to set attributes instead of recording errors #8386)error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (instrumentation: update error handling to set attributes instead of recording errors #8386)go.opentelemetry.io/otel/semconvtov1.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:
rpcspan and metric attributes have been renamed to align with naming guidelines:rpc.system→rpc.system.name(values:grpc,grpc_web,connectrpc,thrift,dubbo, etc.)rpc.methodandrpc.servicehave been merged into a fully-qualifiedrpc.methodattributerpc.client|server.duration→rpc.client|server.call.duration(unit changed to seconds)rpc.grpc.request.metadata/rpc.grpc.response.metadata→rpc.request.metadata/rpc.response.metadatarpc.grpc.status_code→ deprecated in favor ofrpc.response.status_coderpc.jsonrpc.request_id→jsonrpc.request.idrpc.jsonrpc.version→jsonrpc.protocol.versionsystemandprocessmetrics:*.linux.memorymetrics renamed to*.memory.linuxsystem.process.status→process.statesystem.paging.typeandprocess.paging.fault_type→system.paging.fault.typepeer.serviceattribute has been deprecated in favor ofservice.peer.nameSee semantic-conventions v1.39.0 release and v1.38.0 release for complete breaking change details.
Updated modules include:
go.opentelemetry.io/contrib/bridges/otellogrgo.opentelemetry.io/contrib/bridges/otellogrusgo.opentelemetry.io/contrib/bridges/otelsloggo.opentelemetry.io/contrib/bridges/otelzapgo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpservice.peer.nameattribute (deprecatedpeer.service)go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcrpc.methodandrpc.serviceinto fully-qualifiedrpc.method(e.g.,grpc.testing.TestService/EmptyCall)rpc.system→rpc.system.namewith updated values (e.g.,RPCSystemNameGRPC)rpc.grpc.status_code→rpc.response.status_code(e.g.,RPCResponseStatusCode("OK"))go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsrpc.methodandrpc.serviceattributes (service/operation → fully-qualified method)rpc.system→rpc.system.namewithAWSSystemValMethodAttr()function for combined service/operation attributego.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambdago.opentelemetry.io/contrib/instrumentation/runtimego.opentelemetry.io/contrib/instrumentation/hostgo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver(both v1 and v2)go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/detectors/gcpgo.opentelemetry.io/contrib/detectors/aws/ec2/v2go.opentelemetry.io/contrib/detectors/aws/ecsgo.opentelemetry.io/contrib/detectors/aws/eksgo.opentelemetry.io/contrib/detectors/azure/azurevmgo.opentelemetry.io/contrib/otelconfDeprecated
ServiceAttr()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis deprecated. UseMethodAttr()instead, asrpc.servicehas been merged intorpc.methodin semantic conventions v1.39.0. (Bump to semconv/v1.39.0 #8404)OperationAttr()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis deprecated. UseMethodAttr()instead, asrpc.servicehas been merged intorpc.methodin semantic conventions v1.39.0. (Bump to semconv/v1.39.0 #8404)Removed
DefaultClient,Get,Head,Post, andPostFormingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use a custom*http.Clientwithotelhttp.NewTransport(http.DefaultTransport)instead. (Remove the deprecatedotelhttpClient#8266)WithPublicEndpointingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. UseWithPublicEndpointFninstead. (Remove the deprecatedWithPublicEndpointfromotelhttp#8267)WithRouteTagingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The route is already added automatically for spans. For metrics, the alternative is to use theWithMetricAttributesFnoption. (Remove the deprecatedWithRouteTagoption inotelhttp#8268)