golang/go (go)
### [`v1.22.2`](https://togithub.com/golang/go/compare/go1.22.1...go1.22.2)
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
### [`v1.25.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.25.0): /v0.47.0/v0.0.8/v0.1.0-alpha
[Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0)
##### Added
- Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#4906](https://togithub.com/open-telemetry/opentelemetry-go/issues/4906))
- Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp`. ([#4906](https://togithub.com/open-telemetry/opentelemetry-go/issues/4906))
- Add `AddLink` method to the `Span` interface in `go.opentelemetry.io/otel/trace`. ([#5032](https://togithub.com/open-telemetry/opentelemetry-go/issues/5032))
- The `Enabled` method is added to the `Logger` interface in `go.opentelemetry.io/otel/log`.
This method is used to notify users if a log record will be emitted or not. ([#5071](https://togithub.com/open-telemetry/opentelemetry-go/issues/5071))
- Add `SeverityUndefined` `const` to `go.opentelemetry.io/otel/log`.
This value represents an unset severity level. ([#5072](https://togithub.com/open-telemetry/opentelemetry-go/issues/5072))
- Add `Empty` function in `go.opentelemetry.io/otel/log` to return a `KeyValue` for an empty value. ([#5076](https://togithub.com/open-telemetry/opentelemetry-go/issues/5076))
- Add `go.opentelemetry.io/otel/log/global` to manage the global `LoggerProvider`.
This package is provided with the anticipation that all functionality will be migrate to `go.opentelemetry.io/otel` when `go.opentelemetry.io/otel/log` stabilizes.
At which point, users will be required to migrage their code, and this package will be deprecated then removed. ([#5085](https://togithub.com/open-telemetry/opentelemetry-go/issues/5085))
- Add support for `Summary` metrics in the `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` exporters. ([#5100](https://togithub.com/open-telemetry/opentelemetry-go/issues/5100))
- Add `otel.scope.name` and `otel.scope.version` tags to spans exported by `go.opentelemetry.io/otel/exporters/zipkin`. ([#5108](https://togithub.com/open-telemetry/opentelemetry-go/issues/5108))
- Add support for `AddLink` to `go.opentelemetry.io/otel/bridge/opencensus`. ([#5116](https://togithub.com/open-telemetry/opentelemetry-go/issues/5116))
- Add `String` method to `Value` and `KeyValue` in `go.opentelemetry.io/otel/log`. ([#5117](https://togithub.com/open-telemetry/opentelemetry-go/issues/5117))
- Add Exemplar support to `go.opentelemetry.io/otel/exporters/prometheus`. ([#5111](https://togithub.com/open-telemetry/opentelemetry-go/issues/5111))
- Add metric semantic conventions to `go.opentelemetry.io/otel/semconv/v1.24.0`. Future `semconv` packages will include metric semantic conventions as well. ([#4528](https://togithub.com/open-telemetry/opentelemetry-go/issues/4528))
##### Changed
- `SpanFromContext` and `SpanContextFromContext` in `go.opentelemetry.io/otel/trace` no longer make a heap allocation when the passed context has no span. ([#5049](https://togithub.com/open-telemetry/opentelemetry-go/issues/5049))
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` now create a gRPC client in idle mode and with "dns" as the default resolver using [`grpc.NewClient`](https://pkg.go.dev/google.golang.org/grpc#NewClient). ([#5151](https://togithub.com/open-telemetry/opentelemetry-go/issues/5151))
Because of that `WithDialOption` ignores [`grpc.WithBlock`](https://pkg.go.dev/google.golang.org/grpc#WithBlock), [`grpc.WithTimeout`](https://pkg.go.dev/google.golang.org/grpc#WithTimeout), and [`grpc.WithReturnConnectionError`](https://pkg.go.dev/google.golang.org/grpc#WithReturnConnectionError).
Notice that [`grpc.DialContext`](https://pkg.go.dev/google.golang.org/grpc#DialContext) which was used before is now deprecated.
##### Fixed
- Clarify the documentation about equivalence guarantees for the `Set` and `Distinct` types in `go.opentelemetry.io/otel/attribute`. ([#5027](https://togithub.com/open-telemetry/opentelemetry-go/issues/5027))
- Prevent default `ErrorHandler` self-delegation. ([#5137](https://togithub.com/open-telemetry/opentelemetry-go/issues/5137))
- Update all dependencies to address [GO-2024-2687]. ([#5139](https://togithub.com/open-telemetry/opentelemetry-go/issues/5139))
##### Removed
- Drop support for [Go 1.20]. ([#4967](https://togithub.com/open-telemetry/opentelemetry-go/issues/4967))
##### Deprecated
- Deprecate `go.opentelemetry.io/otel/attribute.Sortable` type. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734))
- Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortable` function. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734))
- Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortableFiltered` function. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734))
[Go 1.20]: https://go.dev/doc/go1.20
[GO-2024-2687]: https://pkg.go.dev/vuln/GO-2024-2687
#### New Contributors
- [@tgolang](https://togithub.com/tgolang) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5048](https://togithub.com/open-telemetry/opentelemetry-go/pull/5048)
- [@MickaelAlliel](https://togithub.com/MickaelAlliel) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4906](https://togithub.com/open-telemetry/opentelemetry-go/pull/4906)
- [@s4s7](https://togithub.com/s4s7) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5096](https://togithub.com/open-telemetry/opentelemetry-go/pull/5096)
- [@Kielek](https://togithub.com/Kielek) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5108](https://togithub.com/open-telemetry/opentelemetry-go/pull/5108)
- [@q-cheng](https://togithub.com/q-cheng) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5032](https://togithub.com/open-telemetry/opentelemetry-go/pull/5032)
- [@carrbs](https://togithub.com/carrbs) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4880](https://togithub.com/open-telemetry/opentelemetry-go/pull/4880)
**Full Changelog**: https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0
Configuration
📅 Schedule: Branch creation - "before 9am on monday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.27.10
->v1.27.11
1.22.1
->1.22.2
v1.24.0
->v1.25.0
v1.24.0
->v1.25.0
v1.24.0
->v1.25.0
v1.24.0
->v1.25.0
v1.24.0
->v1.25.0
Release Notes
golang/go (go)
### [`v1.22.2`](https://togithub.com/golang/go/compare/go1.22.1...go1.22.2)open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
### [`v1.25.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.25.0): /v0.47.0/v0.0.8/v0.1.0-alpha [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0) ##### Added - Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#4906](https://togithub.com/open-telemetry/opentelemetry-go/issues/4906)) - Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp`. ([#4906](https://togithub.com/open-telemetry/opentelemetry-go/issues/4906)) - Add `AddLink` method to the `Span` interface in `go.opentelemetry.io/otel/trace`. ([#5032](https://togithub.com/open-telemetry/opentelemetry-go/issues/5032)) - The `Enabled` method is added to the `Logger` interface in `go.opentelemetry.io/otel/log`. This method is used to notify users if a log record will be emitted or not. ([#5071](https://togithub.com/open-telemetry/opentelemetry-go/issues/5071)) - Add `SeverityUndefined` `const` to `go.opentelemetry.io/otel/log`. This value represents an unset severity level. ([#5072](https://togithub.com/open-telemetry/opentelemetry-go/issues/5072)) - Add `Empty` function in `go.opentelemetry.io/otel/log` to return a `KeyValue` for an empty value. ([#5076](https://togithub.com/open-telemetry/opentelemetry-go/issues/5076)) - Add `go.opentelemetry.io/otel/log/global` to manage the global `LoggerProvider`. This package is provided with the anticipation that all functionality will be migrate to `go.opentelemetry.io/otel` when `go.opentelemetry.io/otel/log` stabilizes. At which point, users will be required to migrage their code, and this package will be deprecated then removed. ([#5085](https://togithub.com/open-telemetry/opentelemetry-go/issues/5085)) - Add support for `Summary` metrics in the `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` exporters. ([#5100](https://togithub.com/open-telemetry/opentelemetry-go/issues/5100)) - Add `otel.scope.name` and `otel.scope.version` tags to spans exported by `go.opentelemetry.io/otel/exporters/zipkin`. ([#5108](https://togithub.com/open-telemetry/opentelemetry-go/issues/5108)) - Add support for `AddLink` to `go.opentelemetry.io/otel/bridge/opencensus`. ([#5116](https://togithub.com/open-telemetry/opentelemetry-go/issues/5116)) - Add `String` method to `Value` and `KeyValue` in `go.opentelemetry.io/otel/log`. ([#5117](https://togithub.com/open-telemetry/opentelemetry-go/issues/5117)) - Add Exemplar support to `go.opentelemetry.io/otel/exporters/prometheus`. ([#5111](https://togithub.com/open-telemetry/opentelemetry-go/issues/5111)) - Add metric semantic conventions to `go.opentelemetry.io/otel/semconv/v1.24.0`. Future `semconv` packages will include metric semantic conventions as well. ([#4528](https://togithub.com/open-telemetry/opentelemetry-go/issues/4528)) ##### Changed - `SpanFromContext` and `SpanContextFromContext` in `go.opentelemetry.io/otel/trace` no longer make a heap allocation when the passed context has no span. ([#5049](https://togithub.com/open-telemetry/opentelemetry-go/issues/5049)) - `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` now create a gRPC client in idle mode and with "dns" as the default resolver using [`grpc.NewClient`](https://pkg.go.dev/google.golang.org/grpc#NewClient). ([#5151](https://togithub.com/open-telemetry/opentelemetry-go/issues/5151)) Because of that `WithDialOption` ignores [`grpc.WithBlock`](https://pkg.go.dev/google.golang.org/grpc#WithBlock), [`grpc.WithTimeout`](https://pkg.go.dev/google.golang.org/grpc#WithTimeout), and [`grpc.WithReturnConnectionError`](https://pkg.go.dev/google.golang.org/grpc#WithReturnConnectionError). Notice that [`grpc.DialContext`](https://pkg.go.dev/google.golang.org/grpc#DialContext) which was used before is now deprecated. ##### Fixed - Clarify the documentation about equivalence guarantees for the `Set` and `Distinct` types in `go.opentelemetry.io/otel/attribute`. ([#5027](https://togithub.com/open-telemetry/opentelemetry-go/issues/5027)) - Prevent default `ErrorHandler` self-delegation. ([#5137](https://togithub.com/open-telemetry/opentelemetry-go/issues/5137)) - Update all dependencies to address [GO-2024-2687]. ([#5139](https://togithub.com/open-telemetry/opentelemetry-go/issues/5139)) ##### Removed - Drop support for [Go 1.20]. ([#4967](https://togithub.com/open-telemetry/opentelemetry-go/issues/4967)) ##### Deprecated - Deprecate `go.opentelemetry.io/otel/attribute.Sortable` type. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734)) - Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortable` function. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734)) - Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortableFiltered` function. ([#4734](https://togithub.com/open-telemetry/opentelemetry-go/issues/4734)) [Go 1.20]: https://go.dev/doc/go1.20 [GO-2024-2687]: https://pkg.go.dev/vuln/GO-2024-2687 #### New Contributors - [@tgolang](https://togithub.com/tgolang) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5048](https://togithub.com/open-telemetry/opentelemetry-go/pull/5048) - [@MickaelAlliel](https://togithub.com/MickaelAlliel) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4906](https://togithub.com/open-telemetry/opentelemetry-go/pull/4906) - [@s4s7](https://togithub.com/s4s7) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5096](https://togithub.com/open-telemetry/opentelemetry-go/pull/5096) - [@Kielek](https://togithub.com/Kielek) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5108](https://togithub.com/open-telemetry/opentelemetry-go/pull/5108) - [@q-cheng](https://togithub.com/q-cheng) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/5032](https://togithub.com/open-telemetry/opentelemetry-go/pull/5032) - [@carrbs](https://togithub.com/carrbs) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4880](https://togithub.com/open-telemetry/opentelemetry-go/pull/4880) **Full Changelog**: https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0Configuration
📅 Schedule: Branch creation - "before 9am on monday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.