v0.46.0 Beta
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.46.0
🛑 Breaking changes 🛑
- Deprecated funcs
config.DefaultConfig
,confighttp.DefaultHTTPSettings
,exporterhelper.DefaultTimeoutSettings
,
exporthelper.DefaultQueueSettings
,exporterhelper.DefaultRetrySettings
,testcomponents.DefaultFactories
, and
scraperhelper.DefaultScraperControllerSettings
in favour for theirNewDefault
method to adhere to contribution guidelines (#4865) - Deprecated funcs
componenthelper.StartFunc
,componenthelper.ShutdownFunc
in favour ofcomponent.StartFunc
andcomponent.ShutdownFunc
(#4803) - Move helpers from extensionhelper to component (#4805)
- Deprecated
extensionhelper.CreateDefaultConfig
in favour ofcomponent.ExtensionDefaultConfigFunc
- Deprecated
extensionhelper.CreateServiceExtension
in favour ofcomponent.CreateExtensionFunc
- Deprecated
extensionhelper.NewFactory
in favour ofcomponent.NewExtensionFactory
- Deprecated
- Move helpers from processorhelper to component (#4889)
- Deprecated
processorhelper.CreateDefaultConfig
in favour ofcomponent.ProcessorDefaultConfigFunc
- Deprecated
processorhelper.WithTraces
in favour ofcomponent.WithTracesProcessor
- Deprecated
processorhelper.WithMetrics
in favour ofcomponent.WithMetricsProcessor
- Deprecated
processorhelper.WithLogs
in favour ofcomponent.WithLogsProcessor
- Deprecated
processorhelper.NewFactory
in favour ofcomponent.NewProcessorFactory
- Deprecated
- Move helpers from exporterhelper to component (#4899)
- Deprecated
exporterhelper.CreateDefaultConfig
in favour ofcomponent.ExporterDefaultConfigFunc
- Deprecated
exporterhelper.WithTraces
in favour ofcomponent.WithTracesExporter
- Deprecated
exporterhelper.WithMetrics
in favour ofcomponent.WithMetricsExporter
- Deprecated
exporterhelper.WithLogs
in favour ofcomponent.WithLogsExporter
- Deprecated
exporterhelper.NewFactory
in favour ofcomponent.NewExporterFactory
- Deprecated
- Move helpers from receiverhelper to component (#4891)
- Deprecated
receiverhelper.CreateDefaultConfig
in favour ofcomponent.ReceiverDefaultConfigFunc
- Deprecated
receiverhelper.WithTraces
in favour ofcomponent.WithTracesReceiver
- Deprecated
receiverhelper.WithMetrics
in favour ofcomponent.WithMetricsReceiver
- Deprecated
receiverhelper.WithLogs
in favour ofcomponent.WithLogsReceiver
- Deprecated
receiverhelper.NewFactory
in favour ofcomponent.NewReceiverFactory
- Deprecated
- Change otel collector to enable open telemetry metrics through feature gate instead of a constant
- Remove support for legacy otlp/http port. (#4916)
- Remove deprecated funcs in pdata (#4809)
- Remove deprecated Retrieve funcs/calls (#4922)
- Remove deprecated NewConfigProvider funcs (#4937)
💡 Enhancements 💡
- Add validation to check at least one endpoint is specified in otlphttpexporter's configuration (#4860)
🧰 Bug fixes 🧰
- Initialized logger with collector to avoid potential race condition panic on
Shutdown
(#4827) - In addition to traces, now logs and metrics processors will start the memory limiter.
Added thread-safe logic so only the first processor can launch thecheckMemLimits
go-routine and the last processor
that calls shutdown to terminate it; this is done per memory limiter instance.
Added memory limiter factory to cache initiated object and be reused by similar config. This guarantees a single
runningcheckMemLimits
per config (#4886) - Resolved race condition in collector when calling
Shutdown
(#4878)