v0.43.0
This release includes version 0.144.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
Highlights from the upstream Collector changelog
🛑 Breaking Changes 🛑
- pkg/config/confighttp: Replace
ServerConfig.EndpointwithNetAddr confignet.AddrConfig, enabling more flexible transport configuration. (#14187, #8752)
This change adds "transport" as a configuration option, allowing users to specify
different transport protocols (e.g., "tcp", "unix"). - pkg/exporterhelper: Change verbosity level for
otelcol_exporter_queue_batch_send_sizemetric to detailed. (#14278) - pkg/service: Remove deprecated
telemetry.disableHighCardinalityMetricsfeature gate. (#14373) - pkg/service: Remove deprecated
service.noopTracerProviderfeature gate. (#14374) - processor/tail_sampling: Deprecated invert decisions disabled by default (use drop policies). (#44132)
- exporter/kafka: Remove Sarama producer; Franz-go now required. (#44565)
- receiver/kafka: Remove Sarama consumer and
default_fetch_size; Franz-go now required. (#44564) - all: Add Unix socket support to HTTP server components. #45308
HTTP server components (namely receivers) now support listening on Unix domain sockets in addition to TCP addresses, by configuringtransport: unixand settingendpointto a Unix socket path.
This is a breaking change to the config structs, but is not breaking for end users. Existing YAML configuration options remain unchanged.
🚩 Deprecations 🚩
- exporter/otlp_grpc: Rename
otlp→otlp_grpc; add deprecated aliasotlp. (#14403) - exporter/otlp_http: Rename
otlphttp→otlp_http; add deprecated aliasotlphttp. (#14396)
💡 Enhancements 💡
- processor/tail_sampling: New
decision_wait_after_root_receivedoption. (#43876) - processor/k8sattributes: Bump
semconvto v1.39.0. (#45447) - processor/redaction: Added
sanitize_span_nameandignored_key_patterns. (#44228. - processor/redaction: Add ignored_key_patterns configuration option to allow ignoring keys by regex pattern #44657).
- processor/resourcedetection: Add optional docker attributes(#44898
Addcontainer.image.nameandcontainer.nameoptional resource attributes with the docker detector. - receiver/prometheus: Associate scraped
_createdper OpenMetricsText spec; add troubleshooting/best-practices guide. (#45291, - receiver/prometheus: Add comprehensive troubleshooting and best practices guide to Prometheus receiver README #44925)
🧰 Bug Fixes 🧰
- pkg/exporterhelper: Fix partition batcher refcount. (#14444)
- exporter/kafka: franz-go: Exclude non-produce metrics from kafka_exporter_write_latency and kafka_exporter_latency (#45258)
- pkg/kafka/configkafka: Fix consumer group rebalance strategy validation #45268
- pkg/ottl: Fix numeric parsing to correctly handle signed numbers in math expressions. #45222
The OTTL math expression parser did not correctly handle unary signs for plus and minus. Expressions like 3-5 would not parse correctly without inserting spaces to make it 3 - 5. This change moves the sign handling out of the lexer and into the parser. - pkg/ottl: Handle floating constants with decimal point but no fraction. #45222
Floating point constants that had a decimal point but no fractional digits (e.g., "3.") were not handled properly and could crash the parser. These are now parsed as valid floating point numbers. - pkg/stanza: Fix Windows UNC network path handling in filelog receiver #44401
The filelog receiver now correctly handles Windows UNC network paths (e.g., \server\share\logs*.log). Previously, the receiver could list files from network shares but failed to open them due to path corruption during normalization. This fix converts UNC paths to Windows extended-length format (\?\UNC\server\share\path) which is more reliable and not affected by filepath.Clean() issues. - pkg/stanza: Ensure container parser respects the if condition and on_error settings when format detection fails #41508
- processor/resourcedetection: Prevent the resource detection processor from panicking when detectors return a zero-valued pdata resource.(#41934)
- processor/resourcedetection: Fix nil pointer panic when HTTP client creation fails in Start method. (#45220)