OpenTelemetry - CNCF/opentelemetry-collector: Release v0.106.0
Name: opentelemetry-collector
Owner: OpenTelemetry - CNCF
Release: v0.106.0
Released: 2024-07-29
License: Apache-2.0
Release Assets:
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.106.0
End User Changelog
v0.106.0
🛑 Breaking changes 🛑
service
: Update all metrics to includeotelcol_
prefix to ensure consistency across OTLP and Prometheus metrics (#9759) This change is marked as a breaking change as anyone that was using OTLP for metrics will see the new prefix which was not present before. Prometheus generated metrics remain unchanged.confighttp
: DeleteClientConfig.CustomRoundTripper
(#8627) Set (*http.Client).Transport on the *http.Client returned from ToClient to configure this.confmap
: When passing configuration for a string field using any provider, use the verbatim string representation as the value. (#10605, #10405) This matches the behavior of${ENV}
syntax prior to the promotion of theconfmap.unifyEnvVarExpansion
feature gate to beta. It changes the behavior of the${env:ENV}
syntax with escaped strings.component
: Adds restrictions on the character set for component.ID name. (#10673)processor/memorylimiter
: The memory limiter processor will no longer account for ballast size. (#10696) If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.extension/memorylimiter
: The memory limiter extension will no longer account for ballast size. (#10696) If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.service
: The service will no longer be able to get a ballast size from the deprecated ballast extension. (#10696) If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
🚀 New components 🚀
client
: Create a new go modulego.opentelemetry.io/collector/client
(#9804) This module contains generic representations of clients connecting to different receivers.
💡 Enhancements 💡
exporterhelper
: Add data_type attribute tootelcol_exporter_queue_size
metric to report the type of data being processed. (#9943)confighttp
: Add option to include query params in auth context (#4806)configgrpc
: gRPC auth errors now return gRPC status code UNAUTHENTICATED (16) (#7646)httpprovider, httpsprovider
: Validate URIs in HTTP and HTTPS providers before fetching. (#10468)
🧰 Bug fixes 🧰
processorhelper
: update units for internal telemetry (#10647)confmap
: Increase the amount of recursion and URI expansions allowed in a single line (#10712)exporterhelper
: There is no guarantee that after the exporterhelper sends the plog/pmetric/ptrace data downstream that the data won't be mutated in some way. (e.g by the batch_sender) This mutation could result in the proceeding call to req.ItemsCount() to provide inaccurate information to be logged. (#10033)exporterhelper
: Update units for internal telemetry (#10648)receiverhelper
: Update units for internal telemetry (#10650)scraperhelper
: Update units for internal telemetry (#10649)service
: Use Command/Version to populate service name/version attributes (#10644)
Go API Changelog
v0.106.0
🛑 Breaking changes 🛑
configauth
: removing deprecated methods GetServerAuthenticatorContext and GetClientAuthenticatorContext (#9808)connector,exporter,receiver,extension,processor
: Remove deprecated funcs/structs (#10423) Remove the following funcs & structs:- connector.CreateSettings -> connector.Settings
- connectortest.NewNopCreateSettings -> connectortest.NewNopSettings
- exporter.CreateSettings -> exporter.Settings
- exportertest.NewNopCreateSettings -> exportertest.NewNopSettings
- extension.CreateSettings -> extension.Settings
- extensiontest.NewNopCreateSettings -> extensiontest.NewNopSettings
- processor.CreateSettings -> processor.Settings
- processortest.NewNopCreateSettings -> processortest.NewNopSettings
- receiver.CreateSettings -> receiver.Settings
- receivertest.NewNopCreateSettings -> receivertest.NewNopSettings
component/componenttest
: Add optional ...attribute.KeyValue argument to TestTelemetry.CheckExporterMetricGauge. (#10593)confighttp
: Auth data type signature has changed (#4806) As part of the linked PR, theauth
attribute was moved fromconfigauth.Authentication
to a newAuthConfig
, which contains aconfigauth.Authentication
. For end-users, this is a non-breaking change. For users of the API, create a new AuthConfig using theconfigauth.Authentication
instance that was being used before.mdatagen
: Remove WithAttributes option from the telemetry builder constructor. (#10608) Attribute sets for async instruments now can be set as options to callback setters and async instruments initializers. This allows each async instrument to have its own attribute set.service/extensions
: AddsOptions
toextensions.New
. (#10728) This is only a breaking change if you are depending onextensions.New
's signature. Calls toextensions.New
are not broken.
🚩 Deprecations 🚩
component
: Deprecates Host.GetFactory. (#10709)
🚀 New components 🚀
component/componentprofiles
: Add componentprofiles module. (#10525)
💡 Enhancements 💡
exporter, processor, receiver
: Document factory functions. (#9323)component
: Document status enums and New constructors (#9822)confighttp, configgrpc
: Remove the experimental comment onIncludeMetadata
in confighttp and configgrpc (#9381)confighttp
: Addconfighttp.NewDefaultServerConfig()
to instantiate the default HTTP server configuration (#9655)consumer/consumertest
: Allow testing profiles with consumertest. (#10692)
🧰 Bug fixes 🧰
confmap
: Fix wrong expansion of environment variables escaped with$$
, e.g.$${ENV_VAR}
and$$ENV_VAR
. (#10713) This change fixes the issue where environment variables escaped with $$ were expanded. The collector now converts$${ENV_VAR}
to${ENV_VAR}
and$$ENV_VAR
to$ENV_VAR
without further expansion.