Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.121.0
End User Changelog
🛑 Breaking changes 🛑
confighttp
: Make the client config optionsmax_idle_conns
,max_idle_conns_per_host
,max_conns_per_host
, andidle_conn_timeout
integers (#9478)
All four options can be set to0
where they were previously set tonull
🚩 Deprecations 🚩
exporterhelper
: Deprecatemin_size_items
andmax_size_items
in favor ofmin_size
andmax_size
. (#12486)
💡 Enhancements 💡
-
mdatagen
: Addconverter
andprovider
module classes (#12467) -
pipeline
: output pipeline name with signal as signal[/name] format in logs. (#12410) -
memorylimiter
: Add support to configure min GC intervals for soft and hard limits. (#12450) -
otlpexporter
: Update the stability level for logs, it has been as stable as traces and metrics for some time. (#12423) -
service
: Create a new subcommand to dump the initial configuration after resolving/merging. (#11479)
To use theprint-initial-config
subcommand, invoke the Collector with the subcommand and corresponding feature gate:otelcol print-initial-config --feature-gates=otelcol.printInitialConfig --config=config.yaml
.
Note that the feature gate enabling this flag is currently in alpha stability, and the subcommand may
be changed in the future. -
memorylimiterprocessor
: Add support for profiles. (#12453) -
otelcol
: Converters are now available in thecomponents
command. (#11900, #12385) -
component
: Mark module as stable (#9376) -
confmap
: Surface YAML parsing errors when they happen at the top-level. (#12180)
This adds context to some instances of the error "retrieved value (type=string) cannot be used as a Conf", which typically happens because of invalid YAML documents -
pprofile
: Add LinkIndex attribute to the generated Sample type (#12485) -
exporterhelper
: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425) -
mdatagen
: Update metadata schema with new fields without enforcing them (#12359)
🧰 Bug fixes 🧰
service
: Fix crash at startup when converting from v0.2.0 to v0.3.0 (#12438)service
: fix bug in parsing service::telemetry configuration (#12437)exporterhelper
: Fix bug where the error logged when conversion of data fails is always nil (#12510)mdatagen
: Adds back missing import for filter when emitting resource attributes (#12455)
API Changelog
🛑 Breaking changes 🛑
-
exporterqueue
: Remove exporterqueue.Factory in favor of the NewQueue function, and merge configs for memory and persistent. (#12509)
As a side effect of this change, no alternative implementation of the queue are supported and the Queue interface will be hidden. -
exporterhelper
: Update MergeSplit function signature to use the new SizeConfig (#12486) -
extension, connector, processor, receiver, exporter, scraper
: Remove deprecatedCreate*
methods fromCreate*Func
types. (#12305)
Thexconnector.CreateMetricsToProfilesFunc.CreateMetricsToProfiles
method has been removed without a deprecation. -
component
: Remove deprecated function and interfaceConfigValidator
andValidateConfig
. (#11524)- Use
xconfmap.Validator
andxconfmap.Validate
instead.
- Use
-
receiver, scraper, processor, exporter, extension
: Remove deprecated MakeFactoryMap functions in favor of generic implementation (#12222) -
exporterhelper
: Change the signature of the exporterhelper.WithQueueRequest to accept Encoding instead of the Factory. (#12509) -
component/componenttest
: Removing the deprecatedCheckReceiverMetrics
andCheckReceiverTraces
functions. (#12185)
🚩 Deprecations 🚩
componenttest
: Deprecated componenttest.TestTelemetry in favor of componenttest.Telemetry (#12419)connector, exporter, extension, processor, receiver, scraper
: Add type parameter toNewNopSettings
and deprecateNewNopSettingsWithType
(#12305)exporterhelper
: Deprecate MinSizeConfig and MaxSizeItems. (#12486)extension/extensionauth
: Deprecate methods on*Func
types. (#12480)extension/auth, extension/auth/authtest
: Deprecate extension/auth and the related test module in favor of extension/extensionauth (#12478)
🚀 New components 🚀
service/hostcapabilities
: createservice/hostcapabilities
module (#12296, #12375)
Removes getExporters interface in service/internal/graph.
Removes getModuleInfos interface in service/internal/graph.
Creates interface ExposeExporters in service/hostcapabilities to expose GetExporters function.
Creates interface ModuleInfo in service/hostcapabilities to expose GetModuleInfos function.
💡 Enhancements 💡
exporterhelper
: Adds the config API to support serialized bytes based batching (#3262)configauth
: Add theomitempty
mapstructure tag to struct fields (#12191)
This results in unset fields not being rendered when marshaling.confighttp
: Add theomitempty
mapstructure tag to struct fields (#12191)
This results in unset fields not being rendered when marshaling.otelcol
: Converters are now available in thecomponents
command. (#11900, #12385)extension
: Mark module as stable (#11005)pcommon.Map
: preallocate go map in Map.AsRaw() (#12406)exporterhelper
: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425)service
: Add theomitempty
mapstructure tag to struct fields (#12191)
This results in unset fields not being rendered when marshaling.