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:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.104.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.104.0
Warning
This release includes two important breaking changes:
- The
otlpreceiver
,jaegerreceiver
andhealthcheckextension
will now uselocalhost
by default instead of0.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 on0.0.0.0
disable thecomponent.UseLocalHostAsDefaultHost
feature gate or explicitly set the endpoint to0.0.0.0
.
For more details, check out the OTel blog post. - Expansion of BASH-style environment variables, such as
$FOO
will no longer be supported by default. If you depend on this syntax, disable theconfmap.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)filter
: Remove deprecatedfilter.CombinedFilter
(#10348)otelcol
: By default,otelcol.NewCommand
andotelcol.NewCommandMustSetProvider
will set theDefaultScheme
toenv
. #10435)otelcol
: The otelcol.NewCommand now requires at least one provider be set. (#10436)
🚩 Deprecations 🚩
otelcol
: Theotelcol.NewCommandMustSetProvider
is deprecated. Useotelcol.NewCommand
instead. (#10436)
💡 Enhancements 💡
k8sattributesprocessor
: Add support for exposingk8s.pod.ip
as a resource attribute (#32960)debugexporter
: Innormal
verbosity, display one line of text for each telemetry record (log, data point, span) (#7806)debugexporter
: Add optionuse_internal_logger
(#10226)debugexporter
: Print Span.TraceState() when present. (#10421)
🧰 Bug fixes 🧰
resourcedetectionprocessor
: Fetch CPU info only if related attributes are enabled (#33774)tailsamplingprocessor
: Fix precedence of inverted match in and policy (#33671)
Previously if the decision from a policy evaluation wasNotSampled
orInvertNotSampled
it would return aNotSampled
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)service
: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#10011)