Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2025

Bumps the otel group with 5 updates:

Package From To
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc 0.60.0 0.61.0
go.opentelemetry.io/otel 1.35.0 1.36.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp 1.35.0 1.36.0
go.opentelemetry.io/otel/sdk 1.35.0 1.36.0
go.opentelemetry.io/otel/trace 1.35.0 1.36.0

Updates go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.60.0 to 0.61.0

Release notes

Sourced from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc's releases.

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

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)

... (truncated)

Changelog

Sourced from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc's changelog.

[1.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0] - 2025-05-21

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)

  • The semantic conventions have been upgraded from v1.17.0 to v1.30.0 in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7270)

... (truncated)

Commits
  • 934fb13 Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0 (#7350)
  • ea9b739 fix(deps): update module github.com/labstack/echo/v4 to v4.13.4 (#7352)
  • 461e409 otelhttp: Add client-side test for OTEL_SEMCONV_STABILITY_OPT_IN=http/dup w...
  • a91d747 chore(deps): update module github.com/uudashr/iface to v1.4.0 (#7346)
  • 394163b fix(deps): update module github.com/gin-gonic/gin to v1.10.1 (#7344)
  • d1b0749 fix(deps): update go.opentelemetry.io/otel digest to e578799 (#7342)
  • b76d20b chore(deps): update googleapis to 55703ea (#7341)
  • 2896fea refactor: move example from otelmux to make it a testable example (#7121)
  • 158bafc feat: Support mixed categories for semconv opt-in (#7274)
  • a35d2d8 refactor: move example from otelgin to make it a testable example (#7328)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/otel from 1.35.0 to 1.36.0

Changelog

Sourced from go.opentelemetry.io/otel's changelog.

[1.36.0/0.58.0/0.12.0] 2025-05-20

Added

  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package. The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package. The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#6796)

Removed

  • Drop support for [Go 1.22]. (#6381, #6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#6662)

Changed

  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation. This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#6569, #6641)

Deprecated

  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#6449)

Fixes

  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#6472)
Commits

Updates go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.35.0 to 1.36.0

Changelog

Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp's changelog.

[1.36.0/0.58.0/0.12.0] 2025-05-20

Added

  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package. The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package. The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#6796)

Removed

  • Drop support for [Go 1.22]. (#6381, #6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#6662)

Changed

  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation. This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#6569, #6641)

Deprecated

  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#6449)

Fixes

  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#6472)
Commits

Updates go.opentelemetry.io/otel/sdk from 1.35.0 to 1.36.0

Changelog

Sourced from go.opentelemetry.io/otel/sdk's changelog.

[1.36.0/0.58.0/0.12.0] 2025-05-20

Added

  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package. The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package. The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#6796)

Removed

  • Drop support for [Go 1.22]. (#6381, #6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#6662)

Changed

  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation. This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#6569, #6641)

Deprecated

  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#6449)

Fixes

  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#6472)
Commits

Updates go.opentelemetry.io/otel/trace from 1.35.0 to 1.36.0

Changelog

Sourced from go.opentelemetry.io/otel/trace's changelog.

[1.36.0/0.58.0/0.12.0] 2025-05-20

Added

  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package. The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package. The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#6796)

Removed

  • Drop support for [Go 1.22]. (#6381, #6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#6662)

Changed

  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation. This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#6569, #6641)

Deprecated

  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#6449)

Fixes

  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#6472)
Commits

@dependabot dependabot bot added the dependencies dependency updates including security fixes label May 26, 2025
@dependabot dependabot bot requested review from a team as code owners May 26, 2025 13:48
@dependabot dependabot bot added the dependencies dependency updates including security fixes label May 26, 2025
@codecov
Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.69%. Comparing base (c5ff67e) to head (6410ade).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #432   +/-   ##
=======================================
  Coverage   70.69%   70.69%           
=======================================
  Files          24       24           
  Lines        2761     2761           
=======================================
  Hits         1952     1952           
  Misses        681      681           
  Partials      128      128           

☔ 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.

Bumps the otel group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.60.0` | `0.61.0` |
| [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` |
| [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` |
| [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | `1.35.0` | `1.36.0` |


Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.60.0 to 0.61.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.60.0...zpages/v0.61.0)

Updates `go.opentelemetry.io/otel` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/sdk` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/trace` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.35.0...v1.36.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-version: 0.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/otel-e979fa6bb4 branch from 77077af to 6410ade Compare June 2, 2025 18:17
@AshleyDumaine AshleyDumaine merged commit adea33e into main Jun 2, 2025
7 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/otel-e979fa6bb4 branch June 2, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies dependency updates including security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants