This repository was archived by the owner on Jul 25, 2025. It is now read-only.
⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.25.0 #85
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.
This PR contains the following updates:
v1.24.0->v1.25.0Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.25.0: /v0.47.0/v0.0.8/v0.1.0-alphaCompare Source
Added
WithProxyoption ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4906)WithProxyoption ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp. (#4906)AddLinkmethod to theSpaninterface ingo.opentelemetry.io/otel/trace. (#5032)Enabledmethod is added to theLoggerinterface ingo.opentelemetry.io/otel/log.This method is used to notify users if a log record will be emitted or not. (#5071)
SeverityUndefinedconsttogo.opentelemetry.io/otel/log.This value represents an unset severity level. (#5072)
Emptyfunction ingo.opentelemetry.io/otel/logto return aKeyValuefor an empty value. (#5076)go.opentelemetry.io/otel/log/globalto manage the globalLoggerProvider.This package is provided with the anticipation that all functionality will be migrate to
go.opentelemetry.io/otelwhengo.opentelemetry.io/otel/logstabilizes.At which point, users will be required to migrage their code, and this package will be deprecated then removed. (#5085)
Summarymetrics in thego.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpandgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcexporters. (#5100)otel.scope.nameandotel.scope.versiontags to spans exported bygo.opentelemetry.io/otel/exporters/zipkin. (#5108)AddLinktogo.opentelemetry.io/otel/bridge/opencensus. (#5116)Stringmethod toValueandKeyValueingo.opentelemetry.io/otel/log. (#5117)go.opentelemetry.io/otel/exporters/prometheus. (#5111)go.opentelemetry.io/otel/semconv/v1.24.0. Futuresemconvpackages will include metric semantic conventions as well. (#4528)Changed
SpanFromContextandSpanContextFromContextingo.opentelemetry.io/otel/traceno longer make a heap allocation when the passed context has no span. (#5049)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcandgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcnow create a gRPC client in idle mode and with "dns" as the default resolver usinggrpc.NewClient. (#5151)Because of that
WithDialOptionignoresgrpc.WithBlock,grpc.WithTimeout, andgrpc.WithReturnConnectionError.Notice that
grpc.DialContextwhich was used before is now deprecated.Fixed
SetandDistincttypes ingo.opentelemetry.io/otel/attribute. (#5027)ErrorHandlerself-delegation. (#5137)Removed
Deprecated
go.opentelemetry.io/otel/attribute.Sortabletype. (#4734)go.opentelemetry.io/otel/attribute.NewSetWithSortablefunction. (#4734)go.opentelemetry.io/otel/attribute.NewSetWithSortableFilteredfunction. (#4734)New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.24.0...v1.25.0
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.
This PR has been generated by Mend Renovate. View repository job log here.