Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update go opentelemetry packages and libraries (#145)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/XSAM/otelsql](https://togithub.com/XSAM/otelsql) | `v0.23.0` -> `v0.29.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fXSAM%2fotelsql/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fXSAM%2fotelsql/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fXSAM%2fotelsql/v0.23.0/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fXSAM%2fotelsql/v0.23.0/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.45.0` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2fgin-gonic%2fgin%2fotelgin/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2fgin-gonic%2fgin%2fotelgin/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2fgin-gonic%2fgin%2fotelgin/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2fgin-gonic%2fgin%2fotelgin/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.45.0` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2flabstack%2fecho%2fotelecho/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2flabstack%2fecho%2fotelecho/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2flabstack%2fecho%2fotelecho/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgithub.com%2flabstack%2fecho%2fotelecho/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://togithub.com/open-telemetry/opentelemetry-go-contrib) | `v0.45.0` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.45.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdouttrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdouttrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdouttrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdouttrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/sdk](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/trace](https://togithub.com/open-telemetry/opentelemetry-go) | `v1.19.0` -> `v1.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2ftrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2ftrace/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2ftrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2ftrace/v1.19.0/v1.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>XSAM/otelsql (github.com/XSAM/otelsql)</summary> ### [`v0.29.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.29.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.28.0...v0.29.0) #### 0.29.0 - 2024-02-26 ##### Changed - Upgrade OTel to version `v1.24.0/v0.46.0`. ([#​218](https://togithub.com/XSAM/otelsql/issues/218)) ### [`v0.28.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.28.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.27.0...v0.28.0) #### 0.28.0 - 2024-02-10 ##### Added - Go 1.22 to supported versions. ([#​210](https://togithub.com/XSAM/otelsql/issues/210)) ##### Changed - Upgrade OTel to version `v1.23.1/v0.45.2`. ([#​209](https://togithub.com/XSAM/otelsql/issues/209)) ### [`v0.27.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.27.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.26.0...v0.27.0) #### 0.27.0 - 2023-12-15 ##### Changed - \~~Upgrade OTel to version `v1.20.0/v0.43.0`. ([#​196](https://togithub.com/XSAM/otelsql/issues/196))~~ - Fixes an issue where `db.Close` did not call `Close` on the underlying connector. ([#​199](https://togithub.com/XSAM/otelsql/issues/199)) - Upgrade OTel to version `v1.21.0/v0.44.0`. ([#​200](https://togithub.com/XSAM/otelsql/issues/200)) ### [`v0.26.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.26.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.25.0...v0.26.0) #### 0.26.0 - 2023-10-11 ##### Changed - Upgrade OTel to version `v1.19.0/v0.42.0`. ([#​190](https://togithub.com/XSAM/otelsql/issues/190)) ### [`v0.25.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.25.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.24.0...v0.25.0) #### 0.25.0 - 2023-09-18 #####⚠️ Notice⚠️ This update contains a breaking change of the type of `SpanNameFormatter`. If you use `SpanNameFormatter` in your code, you need to change the type of `SpanNameFormatter` to function. The minimum supported Go version is `1.20`. ##### Changed - Upgrade OTel to version `v1.18.0/v0.41.0`. ([#​184](https://togithub.com/XSAM/otelsql/issues/184)) - The type of `SpanNameFormatter` has been changed to function for easier use. ([#​185](https://togithub.com/XSAM/otelsql/issues/185)) ##### Removed - Support for Go `1.19`. ([#​186](https://togithub.com/XSAM/otelsql/issues/186)) ### [`v0.24.0`](https://togithub.com/XSAM/otelsql/releases/tag/v0.24.0) [Compare Source](https://togithub.com/XSAM/otelsql/compare/v0.23.0...v0.24.0) #### 0.24.0 - 2023-09-08 ##### Added - `SpanFilter` configuration in `SpanOptions` to filter spans creation. ([#​174](https://togithub.com/XSAM/otelsql/issues/174)) - Go 1.21 to supported versions. ([#​180](https://togithub.com/XSAM/otelsql/issues/180)) ##### Changed - Upgrade OTel to version `v1.17.0/v0.40.0`. ([#​181](https://togithub.com/XSAM/otelsql/issues/181)) </details> <details> <summary>open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)</summary> ### [`v1.24.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.24.0): /v0.46.0/v0.0.1-alpha [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.23.1...v1.24.0) This release is the last to support [Go 1.20]. The next release will require at least [Go 1.21]. ##### Added - Support [Go 1.22]. ([#​4890](https://togithub.com/open-telemetry/opentelemetry-go/issues/4890)) - Add exemplar support to `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. ([#​4900](https://togithub.com/open-telemetry/opentelemetry-go/issues/4900)) - Add exemplar support to `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4900](https://togithub.com/open-telemetry/opentelemetry-go/issues/4900)) - The `go.opentelemetry.io/otel/log` module is added. This module includes OpenTelemetry Go's implementation of the Logs Bridge API. This module is in an alpha state, it is subject to breaking changes. See our [versioning policy](./VERSIONING.md) for more info. ([#​4961](https://togithub.com/open-telemetry/opentelemetry-go/issues/4961)) ##### Fixed - Fix registration of multiple callbacks when using the global meter provider from `go.opentelemetry.io/otel`. ([#​4945](https://togithub.com/open-telemetry/opentelemetry-go/issues/4945)) - Fix negative buckets in output of exponential histograms. ([#​4956](https://togithub.com/open-telemetry/opentelemetry-go/issues/4956)) ##### New Contributors - [@​kevinburkesegment](https://togithub.com/kevinburkesegment) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4920](https://togithub.com/open-telemetry/opentelemetry-go/pull/4920) - [@​yizeng](https://togithub.com/yizeng) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4947](https://togithub.com/open-telemetry/opentelemetry-go/pull/4947) - [@​ntriamme](https://togithub.com/ntriamme) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4945](https://togithub.com/open-telemetry/opentelemetry-go/pull/4945) - [@​ericayin](https://togithub.com/ericayin) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4956](https://togithub.com/open-telemetry/opentelemetry-go/pull/4956) **Full Changelog**: open-telemetry/opentelemetry-go@v1.23.1...v1.24.0 [Go 1.22]: https://go.dev/doc/go1.22 [Go 1.21]: https://go.dev/doc/go1.21 [Go 1.20]: https://go.dev/doc/go1.20 ### [`v1.23.1`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.23.1): /v0.45.2 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.23.0...v1.23.1) ##### Fixed - Register all callbacks passed during observable instrument creation instead of just the last one multiple times in `go.opentelemetry.io/otel/sdk/metric`. ([#​4888](https://togithub.com/open-telemetry/opentelemetry-go/issues/4888)) ### [`v1.23.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.23.0): /v0.45.1 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.22.0...v1.23.0) This release contains the first stable, `v1`, release of the following modules: - `go.opentelemetry.io/otel/bridge/opencensus` - `go.opentelemetry.io/otel/bridge/opencensus/test` - `go.opentelemetry.io/otel/example/opencensus` - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` - `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric` See our [versioning policy](VERSIONING.md) for more information about these stability guarantees. ##### Added - Add `WithEndpointURL` option to the `exporters/otlp/otlpmetric/otlpmetricgrpc`, `exporters/otlp/otlpmetric/otlpmetrichttp`, `exporters/otlp/otlptrace/otlptracegrpc` and `exporters/otlp/otlptrace/otlptracehttp` packages. ([#​4808](https://togithub.com/open-telemetry/opentelemetry-go/issues/4808)) - Experimental exemplar exporting is added to the metric SDK. See [metric documentation](./sdk/metric/EXPERIMENTAL.md#exemplars) for more information about this feature and how to enable it. ([#​4871](https://togithub.com/open-telemetry/opentelemetry-go/issues/4871)) - `ErrSchemaURLConflict` is added to `go.opentelemetry.io/otel/sdk/resource`. This error is returned when a merge of two `Resource`s with different (non-empty) schema URL is attempted. ([#​4876](https://togithub.com/open-telemetry/opentelemetry-go/issues/4876)) ##### Changed - The `Merge` and `New` functions in `go.opentelemetry.io/otel/sdk/resource` now returns a partial result if there is a schema URL merge conflict. Instead of returning `nil` when two `Resource`s with different (non-empty) schema URLs are merged the merged `Resource`, along with the new `ErrSchemaURLConflict` error, is returned. It is up to the user to decide if they want to use the returned `Resource` or not. It may have desired attributes overwritten or include stale semantic conventions. ([#​4876](https://togithub.com/open-telemetry/opentelemetry-go/issues/4876)) ##### Fixed - Fix `ContainerID` resource detection on systemd when cgroup path has a colon. ([#​4449](https://togithub.com/open-telemetry/opentelemetry-go/issues/4449)) - Fix `go.opentelemetry.io/otel/sdk/metric` to cache instruments to avoid leaking memory when the same instrument is created multiple times. ([#​4820](https://togithub.com/open-telemetry/opentelemetry-go/issues/4820)) - Fix missing `Mix` and `Max` values for `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric` by introducing `MarshalText` and `MarshalJSON` for the `Extrema` type in `go.opentelemetry.io/sdk/metric/metricdata`. ([#​4827](https://togithub.com/open-telemetry/opentelemetry-go/issues/4827)) ##### New Contributors - [@​Fricounet](https://togithub.com/Fricounet) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4449](https://togithub.com/open-telemetry/opentelemetry-go/pull/4449) - [@​StLeoX](https://togithub.com/StLeoX) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4855](https://togithub.com/open-telemetry/opentelemetry-go/pull/4855) - [@​m-posluszny](https://togithub.com/m-posluszny) made their first contribution in [https://github.com/open-telemetry/opentelemetry-go/pull/4827](https://togithub.com/open-telemetry/opentelemetry-go/pull/4827) **Full Changelog**: open-telemetry/opentelemetry-go@v1.22.0...v1.23.0 ### [`v1.22.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.22.0): /v0.45.0 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.22.0) ##### Added - The `go.opentelemetry.io/otel/semconv/v1.22.0` package. The package contains semantic conventions from the `v1.22.0` version of the OpenTelemetry Semantic Conventions. ([#​4735](https://togithub.com/open-telemetry/opentelemetry-go/issues/4735)) - The `go.opentelemetry.io/otel/semconv/v1.23.0` package. The package contains semantic conventions from the `v1.23.0` version of the OpenTelemetry Semantic Conventions. ([#​4746](https://togithub.com/open-telemetry/opentelemetry-go/issues/4746)) - The `go.opentelemetry.io/otel/semconv/v1.23.1` package. The package contains semantic conventions from the `v1.23.1` version of the OpenTelemetry Semantic Conventions. ([#​4749](https://togithub.com/open-telemetry/opentelemetry-go/issues/4749)) - The `go.opentelemetry.io/otel/semconv/v1.24.0` package. The package contains semantic conventions from the `v1.24.0` version of the OpenTelemetry Semantic Conventions. ([#​4770](https://togithub.com/open-telemetry/opentelemetry-go/issues/4770)) - Add `WithResourceAsConstantLabels` option to apply resource attributes for every metric emitted by the Prometheus exporter. ([#​4733](https://togithub.com/open-telemetry/opentelemetry-go/issues/4733)) - Experimental cardinality limiting is added to the metric SDK. See [metric documentation](./sdk/metric/EXPERIMENTAL.md#cardinality-limit) for more information about this feature and how to enable it. ([#​4457](https://togithub.com/open-telemetry/opentelemetry-go/issues/4457)) - Add `NewMemberRaw` and `NewKeyValuePropertyRaw` in `go.opentelemetry.io/otel/baggage`. ([#​4804](https://togithub.com/open-telemetry/opentelemetry-go/issues/4804)) ##### Changed - Upgrade all use of `go.opentelemetry.io/otel/semconv` to use `v1.24.0`. ([#​4754](https://togithub.com/open-telemetry/opentelemetry-go/issues/4754)) - Update transformations in `go.opentelemetry.io/otel/exporters/zipkin` to follow `v1.19.0` version of the OpenTelemetry specification. ([#​4754](https://togithub.com/open-telemetry/opentelemetry-go/issues/4754)) - Record synchronous measurements when the passed context is canceled instead of dropping in `go.opentelemetry.io/otel/sdk/metric`. If you do not want to make a measurement when the context is cancelled, you need to handle it yourself (e.g `if ctx.Err() != nil`). ([#​4671](https://togithub.com/open-telemetry/opentelemetry-go/issues/4671)) - Improve `go.opentelemetry.io/otel/trace.TraceState`'s performance. ([#​4722](https://togithub.com/open-telemetry/opentelemetry-go/issues/4722)) - Improve `go.opentelemetry.io/otel/propagation.TraceContext`'s performance. ([#​4721](https://togithub.com/open-telemetry/opentelemetry-go/issues/4721)) - Improve `go.opentelemetry.io/otel/baggage` performance. ([#​4743](https://togithub.com/open-telemetry/opentelemetry-go/issues/4743)) - Improve performance of the `(*Set).Filter` method in `go.opentelemetry.io/otel/attribute` when the passed filter does not filter out any attributes from the set. ([#​4774](https://togithub.com/open-telemetry/opentelemetry-go/issues/4774)) - `Member.String` in `go.opentelemetry.io/otel/baggage` percent-encodes only when necessary. ([#​4775](https://togithub.com/open-telemetry/opentelemetry-go/issues/4775)) - `Property.Value` in `go.opentelemetry.io/otel/baggage` now returns a raw string instead of a percent-encoded value. ([#​4804](https://togithub.com/open-telemetry/opentelemetry-go/issues/4804)) ##### Fixed - Fix `Parse` in `go.opentelemetry.io/otel/baggage` to validate member value before percent-decoding. ([#​4755](https://togithub.com/open-telemetry/opentelemetry-go/issues/4755)) - Fix whitespace encoding of `Member.String` in `go.opentelemetry.io/otel/baggage`. ([#​4756](https://togithub.com/open-telemetry/opentelemetry-go/issues/4756)) - Fix baggage item key so that it is not canonicalized in `go.opentelemetry.io/otel/bridge/opentracing`. ([#​4776](https://togithub.com/open-telemetry/opentelemetry-go/issues/4776)) - Fix `go.opentelemetry.io/otel/bridge/opentracing` to properly handle baggage values that requires escaping during propagation. ([#​4804](https://togithub.com/open-telemetry/opentelemetry-go/issues/4804)) - Fix a bug where using multiple readers resulted in incorrect asynchronous counter values in `go.opentelemetry.io/otel/sdk/metric`. ([#​4742](https://togithub.com/open-telemetry/opentelemetry-go/issues/4742)) ### [`v1.21.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.21.0): /v0.44.0 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.20.0...v1.21.0) ##### Removed - Remove the deprecated `go.opentelemetry.io/otel/bridge/opencensus.NewTracer`. ([#​4706](https://togithub.com/open-telemetry/opentelemetry-go/issues/4706)) - Remove the deprecated `go.opentelemetry.io/otel/exporters/otlp/otlpmetric` module. ([#​4707](https://togithub.com/open-telemetry/opentelemetry-go/issues/4707)) - Remove the deprecated `go.opentelemetry.io/otel/example/view` module. ([#​4708](https://togithub.com/open-telemetry/opentelemetry-go/issues/4708)) - Remove the deprecated `go.opentelemetry.io/otel/example/fib` module. ([#​4723](https://togithub.com/open-telemetry/opentelemetry-go/issues/4723)) ##### Fixed - Do not parse non-protobuf responses in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4719](https://togithub.com/open-telemetry/opentelemetry-go/issues/4719)) - Do not parse non-protobuf responses in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. ([#​4719](https://togithub.com/open-telemetry/opentelemetry-go/issues/4719)) ### [`v1.20.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.20.0): /v0.43.0 [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.19.0...v1.20.0) This release brings a breaking change for custom trace API implementations. Some interfaces (`TracerProvider`, `Tracer`, `Span`) now embed the `go.opentelemetry.io/otel/trace/embedded` types. Implementors need to update their implementations based on what they want the default behavior to be. See the "API Implementations" section of the [trace API] package documentation for more about how to accomplish this. ##### Added - Add `go.opentelemetry.io/otel/bridge/opencensus.InstallTraceBridge`, which installs the OpenCensus trace bridge, and replaces `opencensus.NewTracer`. ([#​4567](https://togithub.com/open-telemetry/opentelemetry-go/issues/4567)) - Add scope version to trace and metric bridges in `go.opentelemetry.io/otel/bridge/opencensus`. ([#​4584](https://togithub.com/open-telemetry/opentelemetry-go/issues/4584)) - Add the `go.opentelemetry.io/otel/trace/embedded` package to be embedded in the exported trace API interfaces. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Add the `go.opentelemetry.io/otel/trace/noop` package as a default no-op implementation of the trace API. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Add context propagation in `go.opentelemetry.io/otel/example/dice`. ([#​4644](https://togithub.com/open-telemetry/opentelemetry-go/issues/4644)) - Add view configuration to `go.opentelemetry.io/otel/example/prometheus`. ([#​4649](https://togithub.com/open-telemetry/opentelemetry-go/issues/4649)) - Add `go.opentelemetry.io/otel/metric.WithExplicitBucketBoundaries`, which allows defining default explicit bucket boundaries when creating histogram instruments. ([#​4603](https://togithub.com/open-telemetry/opentelemetry-go/issues/4603)) - Add `Version` function in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Add `Version` function in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Add Summary, SummaryDataPoint, and QuantileValue to `go.opentelemetry.io/sdk/metric/metricdata`. ([#​4622](https://togithub.com/open-telemetry/opentelemetry-go/issues/4622)) - `go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer` now supports exemplars from OpenCensus. ([#​4585](https://togithub.com/open-telemetry/opentelemetry-go/issues/4585)) - Add support for `WithExplicitBucketBoundaries` in `go.opentelemetry.io/otel/sdk/metric`. ([#​4605](https://togithub.com/open-telemetry/opentelemetry-go/issues/4605)) - Add support for Summary metrics in `go.opentelemetry.io/otel/bridge/opencensus`. ([#​4668](https://togithub.com/open-telemetry/opentelemetry-go/issues/4668)) ##### Deprecated - Deprecate `go.opentelemetry.io/otel/bridge/opencensus.NewTracer` in favor of `opencensus.InstallTraceBridge`. ([#​4567](https://togithub.com/open-telemetry/opentelemetry-go/issues/4567)) - Deprecate `go.opentelemetry.io/otel/example/fib` package is in favor of `go.opentelemetry.io/otel/example/dice`. ([#​4618](https://togithub.com/open-telemetry/opentelemetry-go/issues/4618)) - Deprecate `go.opentelemetry.io/otel/trace.NewNoopTracerProvider`. Use the added `NewTracerProvider` function in `go.opentelemetry.io/otel/trace/noop` instead. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - Deprecate `go.opentelemetry.io/otel/example/view` package in favor of `go.opentelemetry.io/otel/example/prometheus`. ([#​4649](https://togithub.com/open-telemetry/opentelemetry-go/issues/4649)) - Deprecate `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4693](https://togithub.com/open-telemetry/opentelemetry-go/issues/4693)) ##### Changed - `go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer` returns a `*MetricProducer` struct instead of the metric.Producer interface. ([#​4583](https://togithub.com/open-telemetry/opentelemetry-go/issues/4583)) - The `TracerProvider` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.TracerProvider` type. This extends the `TracerProvider` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more information about how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - The `Tracer` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.Tracer` type. This extends the `Tracer` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more informationabout how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - The `Span` in `go.opentelemetry.io/otel/trace` now embeds the `go.opentelemetry.io/otel/trace/embedded.Span` type. This extends the `Span` interface and is is a breaking change for any existing implementation. Implementors need to update their implementations based on what they want the default behavior of the interface to be. See the "API Implementations" section of the `go.opentelemetry.io/otel/trace` package documentation for more information about how to accomplish this. ([#​4620](https://togithub.com/open-telemetry/opentelemetry-go/issues/4620)) - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` does no longer depend on `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` does no longer depend on `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. ([#​4660](https://togithub.com/open-telemetry/opentelemetry-go/issues/4660)) - Retry for `502 Bad Gateway` and `504 Gateway Timeout` HTTP statuses in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4670](https://togithub.com/open-telemetry/opentelemetry-go/issues/4670)) - Retry for `502 Bad Gateway` and `504 Gateway Timeout` HTTP statuses in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. ([#​4670](https://togithub.com/open-telemetry/opentelemetry-go/issues/4670)) - Retry for `RESOURCE_EXHAUSTED` only if RetryInfo is returned in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. ([#​4669](https://togithub.com/open-telemetry/opentelemetry-go/issues/4669)) - Retry for `RESOURCE_EXHAUSTED` only if RetryInfo is returned in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`. ([#​4669](https://togithub.com/open-telemetry/opentelemetry-go/issues/4669)) - Retry temporary HTTP request failures in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. ([#​4679](https://togithub.com/open-telemetry/opentelemetry-go/issues/4679)) - Retry temporary HTTP request failures in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. ([#​4679](https://togithub.com/open-telemetry/opentelemetry-go/issues/4679)) ##### Fixed - Fix improper parsing of characters such us `+`, `/` by `Parse` in `go.opentelemetry.io/otel/baggage` as they were rendered as a whitespace. ([#​4667](https://togithub.com/open-telemetry/opentelemetry-go/issues/4667)) - Fix improper parsing of characters such us `+`, `/` passed via `OTEL_RESOURCE_ATTRIBUTES` in `go.opentelemetry.io/otel/sdk/resource` as they were rendered as a whitespace. ([#​4699](https://togithub.com/open-telemetry/opentelemetry-go/issues/4699)) - Fix improper parsing of characters such us `+`, `/` passed via `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_METRICS_HEADERS` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` as they were rendered as a whitespace. ([#​4699](https://togithub.com/open-telemetry/opentelemetry-go/issues/4699)) - Fix improper parsing of characters such us `+`, `/` passed via `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_METRICS_HEADERS` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` as they were rendered as a whitespace. ([#​4699](https://togithub.com/open-telemetry/opentelemetry-go/issues/4699)) - Fix improper parsing of characters such us `+`, `/` passed via `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_TRACES_HEADERS` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracegrpc` as they were rendered as a whitespace. ([#​4699](https://togithub.com/open-telemetry/opentelemetry-go/issues/4699)) - Fix improper parsing of characters such us `+`, `/` passed via `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_TRACES_HEADERS` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp` as they were rendered as a whitespace. ([#​4699](https://togithub.com/open-telemetry/opentelemetry-go/issues/4699)) - In `go.opentelemetry.op/otel/exporters/prometheus`, the exporter no longer `Collect`s metrics after `Shutdown` is invoked. ([#​4648](https://togithub.com/open-telemetry/opentelemetry-go/issues/4648)) - Fix documentation for `WithCompressor` in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`. ([#​4695](https://togithub.com/open-telemetry/opentelemetry-go/issues/4695)) - Fix documentation for `WithCompressor` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. ([#​4695](https://togithub.com/open-telemetry/opentelemetry-go/issues/4695)) [trace API]: https://pkg.go.dev/go.opentelemetry.io/otel/trace </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/infratographer/x). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjY5LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information