Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 10, 2025

Bumps the otel group with 9 updates:

Package From To
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden 0.127.0 0.128.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest 0.127.0 0.128.0
go.opentelemetry.io/collector/component 1.33.0 1.34.0
go.opentelemetry.io/collector/component/componenttest 0.127.0 0.128.0
go.opentelemetry.io/collector/config/configcompression 1.33.0 1.34.0
go.opentelemetry.io/collector/config/confighttp 0.127.0 0.128.0
go.opentelemetry.io/collector/confmap 1.33.0 1.34.0
go.opentelemetry.io/collector/confmap/xconfmap 0.127.0 0.128.0
go.opentelemetry.io/collector/pdata 1.33.0 1.34.0

Updates github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden from 0.127.0 to 0.128.0

Release notes

Sourced from github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden's releases.

v0.128.0

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End User Changelog

🛑 Breaking changes 🛑

  • pkg: Remove the fields from category FrontDoorWebApplicationFirewallLog from the body log record and place them as log record attributes. (#39993)

  • opampsupervisor: Update passthrough logging to use Error for stderr pipe. (#40491)

  • countconnector: Upgrade profiles proto to 1.7.0 (#40285)

  • elasticsearchexporter: Upgrade profiles proto to 1.7.0 (#40285)

  • golden: Upgrade profiles proto to 1.7.0 (#40285)

  • otelarrowexporter: Configure the combined queue-batch facility, modifies the defaults sending_queue settings. (#40211) Removes experimental batcher config, which was never recommended, and documents how to replace the formerly recommended concurrentbatchprocessor configuration.

  • ottl: Upgrade profiles proto to 1.7.0 (#40285)

  • redisstorageextension: Add TLS support (#40185) TLS is now enabled by default. To disable TLS, use: tls: insecure: true

  • pkg/ottl: Remove access to the profile lookup tables (#40227) the mapping_table, location_table, function_table, attribute_table, attribute_units, link_table, string_stable have been moved to a root dictionary attribute and are not part of profile anymore.

  • signaltometricsconnector: Upgrade profiles proto to 1.7.0 (#40285)

  • sqlserverreceiver: Rename flags for enabling top query collection and query sample collection. (#40416) Renamed top_query_collection.enabled to events."db.server.top_query".enabled in top query collection. Renamed query_sample_collection.enabled to events."db.server.query_sample".enabled in query sample collection.

🚩 Deprecations 🚩

  • receiver/hostmetrics: Mark hostmetrics.process.onWindowsUseNewGetProcesses feature gate as stable (#32947)

💡 Enhancements 💡

  • resourcedetectionprocessor: Add the option to retrieve resource attributes from the K8s API server and EC2 api when the IMDS service is not available. (#39503)

  • windowseventlogreceiver: Add a boolean option to include the log.record.original attribute of each event record. (#40365)

  • prometheusremotewritereceiver: Improve observability about data ingestion (#37277)

  • prometheusremotewritereceiver: Add LRU cache for resource metrics in prometheusremotewritereceiver. (#37277) To avoid memory leaks, the receiver will now use a LRU cache to store resource metrics. The less recently used resource metrics are evicted from the cache given a maximum size. For now the maximum size is 1000.

  • prometheusremotewritereceiver: Add a count of all successfully written samples when elements were processed. (#37277)

  • resourcedetectionprocessor: Add additional OS properties to resource detection: os.build.id and os.name (#39941)

  • receivercreator: Add an option to set default annotations to override the discovery logic (#37436)

  • kafkaexporter: Add an Alpha feature gate exporter.kafkaexporter.UseFranzGoClient to use franz-go in the Kafka exporter for better performance. (#40364) This change adds an experimental opt-in support to use the franz-go client in the Kafka exporter. The franz-go client is a high-performance Kafka client that can improve the performance of the Kafka exporter. The default client remains sarama, which is used by the Kafka receiver and other components. Enable the franz-go client by setting the exporter.kafkaexporter.UseFranzGo feature gate.

  • receiver/cloudflare: Enable the receiver to consume fields from Cloudflare containing a map (#40318)

  • filelogreceiver: The fingerprint of gzip compressed files is created by decompressing and reading the first fingerprint_size bytes. (#37772)

... (truncated)

Changelog

Sourced from github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden's changelog.

v0.128.0

🛑 Breaking changes 🛑

  • prometheusremoteexporter: Delete unused struct CreatedMetric (#40266)

  • k8slogreceiver: Unexport DockerConfig and CRIConfig (#40274)

  • several: Rename fields named TLSSetting to TLS for consistency with the core repository. (#40452) This change affects the following components:

    • exporter/datadogexporter
    • exporter/signalfxexporter
    • exporter/syslogexporter
    • extension/awsproxy
    • extension/oauth2clientauthextension
    • extension/opampextension
    • processor/resourcedetectionprocessor/internal/openshift
    • receiver/awsfirehosereceiver
    • receiver/cloudfoundryreceiver
    • receiver/prometheusreceiver/targetallocator
  • azureblobexporter: Delete type alias Container (#40268)

  • headersetterextension: Unexport Header (#40542)

  • intervalprocessor: Unexport Processor (#40273)

  • splunkenterprisereceiver: Unexport Info (#40267)

💡 Enhancements 💡

  • pkg/ottl: Add ottl.ValueComparator API to allow comparing values using the OTTL comparison rules (#40370) This change introduces a new API (ottl.NewValueComparator) that allows users to compare raw values using the OTTL comparison rules. It is useful for implementing custom logic in OTTL functions where value comparison and consistency is desired.

🧰 Bug fixes 🧰

  • pkg/translator/prometheusremotewrite: Fix bug where metric metadata was sent with incorrect metric name if configuration includes 'namespace' (#39826)
  • prometheusexporter: Expose Scope Name, Version, Schema URL, and Attributes as labels. (#40004) This work is done to comply with open-telemetry/opentelemetry-specification#4223.
Commits
  • f1d7085 [chore] Prepare release 0.128.0 (#40564)
  • c5356cd [cmd/opampsupervisor] chore: Store RemoteConfigStatus in persistent state (#4...
  • 0245843 [receiver/windowseventlogreceiver]: add IncludeLogRecordOriginal to add `lo...
  • 1de3ee6 [fileconsumer] Compute fingerprint for compressed files by decompressing its ...
  • ec280e5 [chore] [pkg/ottl] Introduce ctxutil.GetMap() and ctxutil.GetMapKeyName()...
  • a432b4e [extension/headersetter] unexport Header struct (#40542)
  • bae6c10 [chore] follow the contract of createDefaultConfig (#40541)
  • 1ee5b68 [extensions/azureauth] Retrieve scope from Host/URL.Host instead of Header fo...
  • dab3488 [processor/resourcedetection] add host.interface resource attribute to `sys...
  • 9d83b68 [chore] prom rw v2 exporter add support for batching (#40051)
  • Additional commits viewable in compare view

Updates github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest from 0.127.0 to 0.128.0

Release notes

Sourced from github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest's releases.

v0.128.0

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End User Changelog

🛑 Breaking changes 🛑

  • pkg: Remove the fields from category FrontDoorWebApplicationFirewallLog from the body log record and place them as log record attributes. (#39993)

  • opampsupervisor: Update passthrough logging to use Error for stderr pipe. (#40491)

  • countconnector: Upgrade profiles proto to 1.7.0 (#40285)

  • elasticsearchexporter: Upgrade profiles proto to 1.7.0 (#40285)

  • golden: Upgrade profiles proto to 1.7.0 (#40285)

  • otelarrowexporter: Configure the combined queue-batch facility, modifies the defaults sending_queue settings. (#40211) Removes experimental batcher config, which was never recommended, and documents how to replace the formerly recommended concurrentbatchprocessor configuration.

  • ottl: Upgrade profiles proto to 1.7.0 (#40285)

  • redisstorageextension: Add TLS support (#40185) TLS is now enabled by default. To disable TLS, use: tls: insecure: true

  • pkg/ottl: Remove access to the profile lookup tables (#40227) the mapping_table, location_table, function_table, attribute_table, attribute_units, link_table, string_stable have been moved to a root dictionary attribute and are not part of profile anymore.

  • signaltometricsconnector: Upgrade profiles proto to 1.7.0 (#40285)

  • sqlserverreceiver: Rename flags for enabling top query collection and query sample collection. (#40416) Renamed top_query_collection.enabled to events."db.server.top_query".enabled in top query collection. Renamed query_sample_collection.enabled to events."db.server.query_sample".enabled in query sample collection.

🚩 Deprecations 🚩

  • receiver/hostmetrics: Mark hostmetrics.process.onWindowsUseNewGetProcesses feature gate as stable (#32947)

💡 Enhancements 💡

  • resourcedetectionprocessor: Add the option to retrieve resource attributes from the K8s API server and EC2 api when the IMDS service is not available. (#39503)

  • windowseventlogreceiver: Add a boolean option to include the log.record.original attribute of each event record. (#40365)

  • prometheusremotewritereceiver: Improve observability about data ingestion (#37277)

  • prometheusremotewritereceiver: Add LRU cache for resource metrics in prometheusremotewritereceiver. (#37277) To avoid memory leaks, the receiver will now use a LRU cache to store resource metrics. The less recently used resource metrics are evicted from the cache given a maximum size. For now the maximum size is 1000.

  • prometheusremotewritereceiver: Add a count of all successfully written samples when elements were processed. (#37277)

  • resourcedetectionprocessor: Add additional OS properties to resource detection: os.build.id and os.name (#39941)

  • receivercreator: Add an option to set default annotations to override the discovery logic (#37436)

  • kafkaexporter: Add an Alpha feature gate exporter.kafkaexporter.UseFranzGoClient to use franz-go in the Kafka exporter for better performance. (#40364) This change adds an experimental opt-in support to use the franz-go client in the Kafka exporter. The franz-go client is a high-performance Kafka client that can improve the performance of the Kafka exporter. The default client remains sarama, which is used by the Kafka receiver and other components. Enable the franz-go client by setting the exporter.kafkaexporter.UseFranzGo feature gate.

  • receiver/cloudflare: Enable the receiver to consume fields from Cloudflare containing a map (#40318)

  • filelogreceiver: The fingerprint of gzip compressed files is created by decompressing and reading the first fingerprint_size bytes. (#37772)

... (truncated)

Changelog

Sourced from github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest's changelog.

v0.128.0

🛑 Breaking changes 🛑

  • prometheusremoteexporter: Delete unused struct CreatedMetric (#40266)

  • k8slogreceiver: Unexport DockerConfig and CRIConfig (#40274)

  • several: Rename fields named TLSSetting to TLS for consistency with the core repository. (#40452) This change affects the following components:

    • exporter/datadogexporter
    • exporter/signalfxexporter
    • exporter/syslogexporter
    • extension/awsproxy
    • extension/oauth2clientauthextension
    • extension/opampextension
    • processor/resourcedetectionprocessor/internal/openshift
    • receiver/awsfirehosereceiver
    • receiver/cloudfoundryreceiver
    • receiver/prometheusreceiver/targetallocator
  • azureblobexporter: Delete type alias Container (#40268)

  • headersetterextension: Unexport Header (#40542)

  • intervalprocessor: Unexport Processor (#40273)

  • splunkenterprisereceiver: Unexport Info (#40267)

💡 Enhancements 💡

  • pkg/ottl: Add ottl.ValueComparator API to allow comparing values using the OTTL comparison rules (#40370) This change introduces a new API (ottl.NewValueComparator) that allows users to compare raw values using the OTTL comparison rules. It is useful for implementing custom logic in OTTL functions where value comparison and consistency is desired.

🧰 Bug fixes 🧰

  • pkg/translator/prometheusremotewrite: Fix bug where metric metadata was sent with incorrect metric name if configuration includes 'namespace' (#39826)
  • prometheusexporter: Expose Scope Name, Version, Schema URL, and Attributes as labels. (#40004) This work is done to comply with open-telemetry/opentelemetry-specification#4223.
Commits
  • f1d7085 [chore] Prepare release 0.128.0 (#40564)
  • c5356cd [cmd/opampsupervisor] chore: Store RemoteConfigStatus in persistent state (#4...
  • 0245843 [receiver/windowseventlogreceiver]: add IncludeLogRecordOriginal to add `lo...
  • 1de3ee6 [fileconsumer] Compute fingerprint for compressed files by decompressing its ...
  • ec280e5 [chore] [pkg/ottl] Introduce ctxutil.GetMap() and ctxutil.GetMapKeyName()...
  • a432b4e [extension/headersetter] unexport Header struct (#40542)
  • bae6c10 [chore] follow the contract of createDefaultConfig (#40541)
  • 1ee5b68 [extensions/azureauth] Retrieve scope from Host/URL.Host instead of Header fo...
  • dab3488 [processor/resourcedetection] add host.interface resource attribute to `sys...
  • 9d83b68 [chore] prom rw v2 exporter add support for batching (#40051)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/collector/component from 1.33.0 to 1.34.0

Release notes

Sourced from go.opentelemetry.io/collector/component's releases.

v1.34.0/v0.128.0

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.128.0

End User Changelog

🛑 Breaking changes 🛑

  • service/telemetry: Mark "telemetry.disableAddressFieldForInternalTelemetry" as stable (#13152)

💡 Enhancements 💡

  • confighttp: Update the HTTP server span naming to use the HTTP method and route pattern instead of the path. (#12468) The HTTP server span name will now be formatted as <http.request.method> <http.route>. If a route pattern is not available, it will fall back to <http.request.method>.

  • service: Use configured loggers to log errors as soon as it is available (#13081)

  • service: Remove stabilized featuregate useOtelWithSDKConfigurationForInternalTelemetry (#13152)

🧰 Bug fixes 🧰

  • telemetry: Add generated resource attributes to the printed log messages. (#13110) If service.name, service.version, or service.instance.id are not specified in the config, they will be generated automatically. This change ensures that these attributes are also included in the printed log messages.

  • mdatagen: Fix generation when there are no events in the metadata. (#13123)

  • confmap: Do not panic on assigning nil maps to non-nil maps (#13117)

  • pdata: Fix event_name skipped when unmarshalling LogRecord from JSON (#13127)

API Changelog

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

... (truncated)

Changelog

Sourced from go.opentelemetry.io/collector/component's changelog.

v1.34.0/v0.128.0

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

🧰 Bug fixes 🧰

  • confmap: Correctly distinguish between nil and empty map values on the ToStringMap method (#13161) This means that ToStringMap() method can now return a nil map if the original value was nil. If you were not doing so already, make sure to check for nil before writing to the map to avoid panics.

  • confighttp: Make the NewDefaultServerConfig function return a nil TLS config by default. (#13129)

    • The previous default was a TLS config with no certificates, which would fail at runtime.
Commits
  • ab80fb4 [chore] Prepare release v1.34.0/v0.128.0 (#13180)
  • 9ab25f6 [confmap] Return nil map if original map was nil (#13161)
  • d800ad3 [chore] Decouple single vs multi partition batcher (#13173)
  • 56433bc [chore] Extract batcher worker pool, cleanup unit tests (#13164)
  • c9aaed8 [chore] Replace usage of puzpuzpuz/xsync with standard sync (#13165)
  • 9a620a0 [chore] Small cleanups in the batcher code (#13163)
  • efac6c7 [chore] Use pseudoversions for configoptional (#13162)
  • 1fd105b [exporterhelper] Remove deprecated NewProfilesRequestExporter function (#13157)
  • e8ca607 [receiver/otlpreceiver] Use configoptional type (#13119)
  • 543c65f fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.1.6 (#13136)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/collector/component/componenttest from 0.127.0 to 0.128.0

Changelog

Sourced from go.opentelemetry.io/collector/component/componenttest's changelog.

v1.34.0/v0.128.0

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

🧰 Bug fixes 🧰

  • confmap: Correctly distinguish between nil and empty map values on the ToStringMap method (#13161) This means that ToStringMap() method can now return a nil map if the original value was nil. If you were not doing so already, make sure to check for nil before writing to the map to avoid panics.

  • confighttp: Make the NewDefaultServerConfig function return a nil TLS config by default. (#13129)

    • The previous default was a TLS config with no certificates, which would fail at runtime.
Commits
  • ab80fb4 [chore] Prepare release v1.34.0/v0.128.0 (#13180)
  • 9ab25f6 [confmap] Return nil map if original map was nil (#13161)
  • d800ad3 [chore] Decouple single vs multi partition batcher (#13173)
  • 56433bc [chore] Extract batcher worker pool, cleanup unit tests (#13164)
  • c9aaed8 [chore] Replace usage of puzpuzpuz/xsync with standard sync (#13165)
  • 9a620a0 [chore] Small cleanups in the batcher code (#13163)
  • efac6c7 [chore] Use pseudoversions for configoptional (#13162)
  • 1fd105b [exporterhelper] Remove deprecated NewProfilesRequestExporter function (#13157)
  • e8ca607 [receiver/otlpreceiver] Use configoptional type (#13119)
  • 543c65f fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.1.6 (#13136)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/collector/config/configcompression from 1.33.0 to 1.34.0

Release notes

Sourced from go.opentelemetry.io/collector/config/configcompression's releases.

v1.34.0/v0.128.0

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.128.0

End User Changelog

🛑 Breaking changes 🛑

  • service/telemetry: Mark "telemetry.disableAddressFieldForInternalTelemetry" as stable (#13152)

💡 Enhancements 💡

  • confighttp: Update the HTTP server span naming to use the HTTP method and route pattern instead of the path. (#12468) The HTTP server span name will now be formatted as <http.request.method> <http.route>. If a route pattern is not available, it will fall back to <http.request.method>.

  • service: Use configured loggers to log errors as soon as it is available (#13081)

  • service: Remove stabilized featuregate useOtelWithSDKConfigurationForInternalTelemetry (#13152)

🧰 Bug fixes 🧰

  • telemetry: Add generated resource attributes to the printed log messages. (#13110) If service.name, service.version, or service.instance.id are not specified in the config, they will be generated automatically. This change ensures that these attributes are also included in the printed log messages.

  • mdatagen: Fix generation when there are no events in the metadata. (#13123)

  • confmap: Do not panic on assigning nil maps to non-nil maps (#13117)

  • pdata: Fix event_name skipped when unmarshalling LogRecord from JSON (#13127)

API Changelog

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

... (truncated)

Changelog

Sourced from go.opentelemetry.io/collector/config/configcompression's changelog.

v1.34.0/v0.128.0

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

🧰 Bug fixes 🧰

  • confmap: Correctly distinguish between nil and empty map values on the ToStringMap method (#13161) This means that ToStringMap() method can now return a nil map if the original value was nil. If you were not doing so already, make sure to check for nil before writing to the map to avoid panics.

  • confighttp: Make the NewDefaultServerConfig function return a nil TLS config by default. (#13129)

    • The previous default was a TLS config with no certificates, which would fail at runtime.
Commits
  • ab80fb4 [chore] Prepare release v1.34.0/v0.128.0 (#13180)
  • 9ab25f6 [confmap] Return nil map if original map was nil (#13161)
  • d800ad3 [chore] Decouple single vs multi partition batcher (#13173)
  • 56433bc [chore] Extract batcher worker pool, cleanup unit tests (#13164)
  • c9aaed8 [chore] Replace usage of puzpuzpuz/xsync with standard sync (#13165)
  • 9a620a0 [chore] Small cleanups in the batcher code (#13163)
  • efac6c7 [chore] Use pseudoversions for configoptional (#13162)
  • 1fd105b [exporterhelper] Remove deprecated NewProfilesRequestExporter function (#13157)
  • e8ca607 [receiver/otlpreceiver] Use configoptional type (#13119)
  • 543c65f fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.1.6 (#13136)
  • Additional commits viewable in compare view

Updates go.opentelemetry.io/collector/config/confighttp from 0.127.0 to 0.128.0

Changelog

Sourced from go.opentelemetry.io/collector/config/confighttp's changelog.

v1.34.0/v0.128.0

🛑 Breaking changes 🛑

  • exporterhelper: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
  • confighttp: Remove pointer to field cookies in confighttp.ClientConfig (#13116)
  • otlpreceiver: Use configoptional.Optional to define optional configuration sections in the OTLP receiver. Remove Unmarshal method. (#13119)
  • confighttp,configgrpc: Rename ClientConfig.TLSSetting and ServerConfig.TLSSetting to ClientConfig.TLS and ServerConfig.TLS. (#13115)
  • pdata/pprofile: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075) Note that the batcher is temporarily a noop.
  • pipeline: Remove deprecated MustNewID[WithName] (#13139)

🚀 New components 🚀

  • configoptional: Add a new configoptional module to support optional configuration fields. (#12981)

💡 Enhancements 💡

  • pdata: Introduce MoveAndAppendTo methods to the generated primitive slices (#13074)
  • pdata: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)

🧰 Bug fixes 🧰

  • confmap: Correctly distinguish between nil and empty map values on the ToStringMap method (#13161) This means that ToStringMap() method can now return a nil map if the original value was nil. If you were not doing so already, make sure to check for nil before writing to the map to avoid panics.

  • confighttp: Make the NewDefaultServerConfig function return a nil TLS config by default. (#13129)

    • The previous default was a TLS config with no certificates, which would fail at runtime.
Commits
  • ab80fb4 [chore] Prepare release v1.34.0/v0.128.0 (#13180)
  • 9ab25f6 [confmap] Return nil map if original map was nil (#13161)
  • d800ad3 [chore] Decouple single vs multi partition batcher (#13173)
  • 56433bc [chore] Extract batcher worker pool, cleanup unit tests (#13164)
  • c9aaed8 [chore] Replace usage of puzpuzpuz/xsync with standard sync (#13165)
  • 9a620a0 [chore] Small cleanups in the batcher code (#13163)
  • efac6c7 [chore] Use pseudoversions for configoptional (#13162)
  • 1fd105b [exporterhelper] Remove deprecated NewProfilesRequestExporter function (#13157)
  • e8ca607 [receiver/otlpreceiver] Use configoptional type (

Bumps the otel group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.127.0` | `0.128.0` |
| [github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.127.0` | `0.128.0` |
| [go.opentelemetry.io/collector/component](https://github.com/open-telemetry/opentelemetry-collector) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/collector/component/componenttest](https://github.com/open-telemetry/opentelemetry-collector) | `0.127.0` | `0.128.0` |
| [go.opentelemetry.io/collector/config/configcompression](https://github.com/open-telemetry/opentelemetry-collector) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/collector/config/confighttp](https://github.com/open-telemetry/opentelemetry-collector) | `0.127.0` | `0.128.0` |
| [go.opentelemetry.io/collector/confmap](https://github.com/open-telemetry/opentelemetry-collector) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/collector/confmap/xconfmap](https://github.com/open-telemetry/opentelemetry-collector) | `0.127.0` | `0.128.0` |
| [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector) | `1.33.0` | `1.34.0` |


Updates `github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden` from 0.127.0 to 0.128.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector-contrib@v0.127.0...v0.128.0)

Updates `github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest` from 0.127.0 to 0.128.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector-contrib@v0.127.0...v0.128.0)

Updates `go.opentelemetry.io/collector/component` from 1.33.0 to 1.34.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@pdata/v1.33.0...pdata/v1.34.0)

Updates `go.opentelemetry.io/collector/component/componenttest` from 0.127.0 to 0.128.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@v0.127.0...v0.128.0)

Updates `go.opentelemetry.io/collector/config/configcompression` from 1.33.0 to 1.34.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@pdata/v1.33.0...pdata/v1.34.0)

Updates `go.opentelemetry.io/collector/config/confighttp` from 0.127.0 to 0.128.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@v0.127.0...v0.128.0)

Updates `go.opentelemetry.io/collector/confmap` from 1.33.0 to 1.34.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@pdata/v1.33.0...pdata/v1.34.0)

Updates `go.opentelemetry.io/collector/confmap/xconfmap` from 0.127.0 to 0.128.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@v0.127.0...v0.128.0)

Updates `go.opentelemetry.io/collector/pdata` from 1.33.0 to 1.34.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
- [Commits](open-telemetry/opentelemetry-collector@pdata/v1.33.0...pdata/v1.34.0)

---
updated-dependencies:
- dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden
  dependency-version: 0.128.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest
  dependency-version: 0.128.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/component
  dependency-version: 1.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/component/componenttest
  dependency-version: 0.128.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/config/configcompression
  dependency-version: 1.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/config/confighttp
  dependency-version: 0.128.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/confmap
  dependency-version: 1.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/confmap/xconfmap
  dependency-version: 0.128.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
- dependency-name: go.opentelemetry.io/collector/pdata
  dependency-version: 1.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: otel
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 10, 2025
@dependabot dependabot bot requested review from a team as code owners June 10, 2025 04:50
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 10, 2025
@kruskall kruskall merged commit 01b494e into main Jun 10, 2025
5 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/otel-773e00b8bc branch June 10, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants