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 opentelemetry-go monorepo to v1.20.0 (#323)
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [go.opentelemetry.io/otel](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | | [go.opentelemetry.io/otel/metric](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | | [go.opentelemetry.io/otel/sdk](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | | [go.opentelemetry.io/otel/sdk/metric](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | | [go.opentelemetry.io/otel/trace](https://togithub.com/open-telemetry/opentelemetry-go) | require | minor | `v1.19.0` -> `v1.20.0` | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)</summary> ### [`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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- 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/elastic/apm-queue). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kruskal <[email protected]>
- Loading branch information