Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.138.0
End User Changelog
🛑 Breaking changes 🛑
-
all: Remove deprecated typeTracesConfig(#14036) -
pkg/exporterhelper: Add default values forsending_queue::batchconfiguration. (#13766)
Settingsending_queue::batchto an empty value now results in the same setup as the default batch processor configuration. -
all: Add unified print-config command with mode support (redacted, unredacted), json support (unstable), and validation support. (#11775)
This replaces theprint-initial-configcommand. See theservicepackage README for more details. The original command nameprint-initial-configremains an alias, to be retired with the feature flag.
💡 Enhancements 💡
all: Addkeep_alives_enabledoption to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#13783)pkg/otelcol: Avoid unnecessary mutex in collector logs, replace by atomic pointer (#14008)cmd/mdatagen: Add lint/ordering validation for metadata.yaml (#13781)pdata/xpdata: Refactor JSON marshaling and unmarshaling to usepcommon.Valueinstead ofAnyValue. (#13837)pkg/exporterhelper: ExposeMergeCtxin exporterhelper's queue batch settings` (#13742)
🧰 Bug fixes 🧰
all: Fix zstd decoder data corruption due to decoder pooling for all components that create an HTTP server. (#13954)pkg/otelcol: Remove UB when taking internal logs and move them to the final zapcore.Core (#14009)
This can happen because of a race on accessinglogsTaken.pkg/confmap: Fix a potential race condition in confmap by closing the providers first. (#14018)
API Changelog
🛑 Breaking changes 🛑
-
pkg/xexporterhelper: Remove definition of Sizer from public API and ability to configure. (#14001)
Now that Request has both Items/Bytes sizes no need to allow custom sizers. -
pkg/service: Theservice.Settingstype now requires atelemetry.Factoryto be provided (#4970)
🚩 Deprecations 🚩
pdata/pprofile: DeprecatedPutAttributehelper method (#14016, #14041)pdata/pprofile: DeprecatedPutLocationhelper method (#14019)
💡 Enhancements 💡
all: Addkeep_alives_enabledoption to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#13783)pkg/pdata: Add pcommon.Map helper to add a key to the map if does not exists (#14023)pdata/pprofile: IntroduceEqualmethod on theKeyValueAndUnittype (#14041)pkg/pdata: AddRemoveIfmethod to primitive slice types (StringSlice, Int64Slice, UInt64Slice, Float64Slice, Int32Slice, ByteSlice) (#14027)pdata/pprofile: IntroduceSetAttributehelper method (#14016, #14041)pdata/pprofile: IntroduceSetLocationhelper method (#14019)pdata/pprofile: IntroduceEqualmethod on theStacktype (#13952)