From e88ff111080c37684a0aabefc4a7d4260a098865 Mon Sep 17 00:00:00 2001 From: odubajDT <93584209+odubajDT@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:06:42 +0200 Subject: [PATCH] [chore] prepare release v0.9.0 (#230) Signed-off-by: odubajDT Signed-off-by: Moritz Wiesinger Co-authored-by: Moritz Wiesinger Co-authored-by: Armin Ruech <7052238+arminru@users.noreply.github.com> --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ manifest.yaml | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e8542f..4b08d6cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,56 @@ +## v0.9.0 + +This release includes version 0.104.0 of the upstream Collector components. + +The individual upstream Collector changelogs can be found here: + +v0.104.0: + +- +- + +This release includes 2 very important breaking changes. + +1. The `otlpreceiver`, `jaegerreceiver` and `healthcheckextension` will now use `localhost` by default instead of `0.0.0.0`. This may break the receivers when the sender is not running on the same host, particularly in containerized environments like Kubernetes. If you depend on `0.0.0.0` disable the `component.UseLocalHostAsDefaultHost` feature gate or explicitly set the endpoint to `0.0.0.0`. + For more details, check out the [OTel blog post](https://opentelemetry.io/blog/2024/hardening-the-collector-one). +2. Expansion of BASH-style environment variables, such as `$FOO` will no longer be supported by default. If you depend on this syntax, disable the `confmap.unifyEnvVarExpansion` feature gate, but know that the feature will be removed in the future in favor of `${env:FOO}`. + +
+Highlights from the upstream Collector changelog +
+ +### 🛑 Breaking changes 🛑 + +- `pkg/ottl`: Changed ScopeContext, InstrumentationResourceContext, TransformContext interfaces to make SchemaURL accessible in resources and scopes on all signals ([#30229](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30229)) +- `filter`: Remove deprecated `filter.CombinedFilter` ([#10348](https://github.com/open-telemetry/opentelemetry-collector/issues/10348)) +- `otelcol`: By default, `otelcol.NewCommand` and `otelcol.NewCommandMustSetProvider` will set the `DefaultScheme` to `env`. [#10435](https://github.com/open-telemetry/opentelemetry-collector/issues/10435)) +- `otelcol`: The otelcol.NewCommand now requires at least one provider be set. ([#10436](https://github.com/open-telemetry/opentelemetry-collector/issues/10436)) + +### 🚩 Deprecations 🚩 + +- `otelcol`: The `otelcol.NewCommandMustSetProvider` is deprecated. Use `otelcol.NewCommand` instead. ([#10436](https://github.com/open-telemetry/opentelemetry-collector/issues/10436)) + +### 💡 Enhancements 💡 + +- `k8sattributesprocessor`: Add support for exposing `k8s.pod.ip` as a resource attribute ([#32960](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32960)) +- `debugexporter`: In `normal` verbosity, display one line of text for each telemetry record (log, data point, span) ([#7806](https://github.com/open-telemetry/opentelemetry-collector/issues/7806)) +- `debugexporter`: Add option `use_internal_logger` ([#10226](https://github.com/open-telemetry/opentelemetry-collector/issues/10226)) +- `debugexporter`: Print Span.TraceState() when present. ([#10421](https://github.com/open-telemetry/opentelemetry-collector/issues/10421)) + +### 🧰 Bug fixes 🧰 + +- `resourcedetectionprocessor`: Fetch CPU info only if related attributes are enabled ([#33774](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33774)) +- `tailsamplingprocessor`: Fix precedence of inverted match in and policy ([#33671](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33671)) + Previously if the decision from a policy evaluation was `NotSampled` or `InvertNotSampled` it would return a `NotSampled` decision regardless, effectively downgrading the result. + This was breaking the documented behaviour that inverted decisions should take precedence over all others. +- `otlpexporter`: Update validation to support both dns:// and dns:/// ([#10449](https://github.com/open-telemetry/opentelemetry-collector/issues/10449)) +- `service`: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. ([#10011](https://github.com/open-telemetry/opentelemetry-collector/issues/10011)) + +
+ ## v0.8.0 This release includes version 0.103.0 of the upstream Collector components. diff --git a/manifest.yaml b/manifest.yaml index ccc947bb..0e606cba 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -3,7 +3,7 @@ dist: name: dynatrace-otel-collector description: Dynatrace distribution of the OpenTelemetry Collector output_path: ./build - version: 0.8.0 + version: 0.9.0 receivers: - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.104.0