Skip to content

v0.106.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Jul 19:37
· 695 commits to main since this release
v0.106.0
72e906d

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 include otelcol_ 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: Delete ClientConfig.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 the confmap.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 module go.opentelemetry.io/collector/client (#9804)
    This module contains generic representations of clients connecting to different receivers.

πŸ’‘ Enhancements πŸ’‘

  • exporterhelper: Add data_type attribute to otelcol_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, the auth attribute was moved from configauth.Authentication
    to a new AuthConfig, which contains a configauth.Authentication. For end-users, this
    is a non-breaking change. For users of the API, create a new AuthConfig using the
    configauth.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: Adds Options to extensions.New. (#10728)
    This is only a breaking change if you are depending on extensions.New's signature. Calls to extensions.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 on IncludeMetadata in confighttp and configgrpc (#9381)
  • confighttp: Add confighttp.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.