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::batch
configuration. (#13766)
Settingsending_queue::batch
to 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-config
command. See theservice
package README for more details. The original command nameprint-initial-config
remains an alias, to be retired with the feature flag.
💡 Enhancements 💡
all
: Addkeep_alives_enabled
option 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.Value
instead ofAnyValue
. (#13837)pkg/exporterhelper
: ExposeMergeCtx
in 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.Settings
type now requires atelemetry.Factory
to be provided (#4970)
🚩 Deprecations 🚩
pdata/pprofile
: DeprecatedPutAttribute
helper method (#14016, #14041)pdata/pprofile
: DeprecatedPutLocation
helper method (#14019)
💡 Enhancements 💡
all
: Addkeep_alives_enabled
option 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
: IntroduceEqual
method on theKeyValueAndUnit
type (#14041)pkg/pdata
: AddRemoveIf
method to primitive slice types (StringSlice, Int64Slice, UInt64Slice, Float64Slice, Int32Slice, ByteSlice) (#14027)pdata/pprofile
: IntroduceSetAttribute
helper method (#14016, #14041)pdata/pprofile
: IntroduceSetLocation
helper method (#14019)pdata/pprofile
: IntroduceEqual
method on theStack
type (#13952)