Catalog / OpenTelemetry Collector
0.121.0
v1.27.0/v0.121.0
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_timeoutintegers (#9478) All four options can be set to0where they were previously set tonull
🚩 Deprecations 🚩
exporterhelper: Deprecatemin_size_itemsandmax_size_itemsin favor ofmin_sizeandmax_size. (#12486)
💡 Enhancements 💡
mdatagen: Addconverterandprovidermodule 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-configsubcommand, 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 thecomponentscommand. (#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 documentspprofile: 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*Functypes. (#12305) Thexconnector.CreateMetricsToProfilesFunc.CreateMetricsToProfilesmethod has been removed without a deprecation.component: Remove deprecated function and interfaceConfigValidatorandValidateConfig. (#11524)- Use
xconfmap.Validatorandxconfmap.Validateinstead.
- 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 deprecatedCheckReceiverMetricsandCheckReceiverTracesfunctions. (#12185)
🚩 Deprecations 🚩
componenttest: Deprecated componenttest.TestTelemetry in favor of componenttest.Telemetry (#12419)connector, exporter, extension, processor, receiver, scraper: Add type parameter toNewNopSettingsand deprecateNewNopSettingsWithType(#12305)exporterhelper: Deprecate MinSizeConfig and MaxSizeItems. (#12486)extension/extensionauth: Deprecate methods on*Functypes. (#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/hostcapabilitiesmodule (#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 theomitemptymapstructure tag to struct fields (#12191) This results in unset fields not being rendered when marshaling.confighttp: Add theomitemptymapstructure tag to struct fields (#12191) This results in unset fields not being rendered when marshaling.otelcol: Converters are now available in thecomponentscommand. (#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 theomitemptymapstructure tag to struct fields (#12191) This results in unset fields not being rendered when marshaling.
🧰 Bug fixes 🧰
mdatagen: Fix broken imports in the generated files. (#12298)processor, connector, exporter, receiver: Explicitly error out at component creation time if there is a type mismatch. (#12305)