v1.11.0/v0.104.0
·
2830 commits
to main
since this release
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.104.0
- The
otlpreceivernow useslocalhostby default instead of0.0.0.0. This may break the receiver in containerized environments like Kubernetes. If you depend on0.0.0.0disable thecomponent.UseLocalHostAsDefaultHostfeature gate or explicitly set the endpoint to0.0.0.0. - Expansion of BASH-style environment variables, such as
$FOOis no longer supported by default. If you depend on this syntax, disable theconfmap.unifyEnvVarExpansionfeature gate, but know that the feature will be removed in the future in favor of${env:FOO}.
End User Changelog
🛑 Breaking changes 🛑
filter: Remove deprecatedfilter.CombinedFilter(#10348)otelcol: By default,otelcol.NewCommandandotelcol.NewCommandMustSetProviderwill set theDefaultSchemetoenv. (#10435)expandconverter: By default expandconverter will now error if it is about to expand$FOOsyntax. Update configuration to use${env:FOO}instead or disable theconfmap.unifyEnvVarExpansionfeature gate. (#10435)otlpreceiver: Switch tolocalhostas the default for all endpoints. (#8510)
Disable thecomponent.UseLocalHostAsDefaultHostfeature gate to temporarily get the previous default.
💡 Enhancements 💡
confighttp: Add support for cookies in HTTP clients withcookies::enabled. (#10175)
The methodconfighttp.ToClientwill return a client with acookiejar.Jarwhich will reuse cookies from server responses in subsequent requests.exporter/debug: Innormalverbosity, display one line of text for each telemetry record (log, data point, span) (#7806)exporter/debug: Add optionuse_internal_logger(#10226)configretry: Mark module as stable. (#10279)debugexporter: Print Span.TraceState() when present. (#10421)
Enables viewing sampling threshold information (as by OTEP 235 samplers).processorhelper: Add "inserted" metrics for processors. (#10353)
This includes the following metrics for processors:processor_inserted_spansprocessor_inserted_metric_pointsprocessor_inserted_log_records
🧰 Bug fixes 🧰
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)
Go API Changelog
🛑 Breaking changes 🛑
otelcol: Theotelcol.NewCommandnow requires at least one provider be set. (#10436)component/componenttest: Added additional "inserted" count toTestTelemetry.CheckProcessor*methods. (#10353)
🚩 Deprecations 🚩
otelcoltest: DeprecatesLoadConfigWithSettingsandLoadConfigAndValidateWithSettings. UseLoadConfigandLoadConfigAndValidateinstead. (#10417)otelcol: Theotelcol.NewCommandMustSetProvideris deprecated. Useotelcol.NewCommandinstead. (#10436)
🚀 New components 🚀
otelcoltest: Split off go.opentelemetry.io/collector/otelcol/otelcoltest into its own module (#10417)