Skip to content

Bump go.opentelemetry.io/collector/component/componenttest from 0.150.0 to 0.151.0#1659

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-go_modules-go.opentelemetry.io-collector-component-componenttest-0.151.0
Open

Bump go.opentelemetry.io/collector/component/componenttest from 0.150.0 to 0.151.0#1659
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-go_modules-go.opentelemetry.io-collector-component-componenttest-0.151.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026

Bumps go.opentelemetry.io/collector/component/componenttest from 0.150.0 to 0.151.0.

Changelog

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

v1.57.0/v0.151.0

🛑 Breaking changes 🛑

  • receiver/otlp: Config.Protocols is now a named field instead of an anonymous embedded field. (#15178) Access to cfg.GRPC and cfg.HTTP must be updated to cfg.Protocols.GRPC and cfg.Protocols.HTTP.

🚩 Deprecations 🚩

  • cmd/mdatagen: The DefaultMetricsBuilderConfig function is deprecated. Use NewDefaultMetricsBuilderConfig instead. (#15165) The generated DefaultMetricsBuilderConfig function has been renamed to NewDefaultMetricsBuilderConfig to follow Go naming conventions. The old function is kept as a deprecated wrapper and will be removed in a future release.

💡 Enhancements 💡

  • cmd/mdatagen: Handle default values for configuration fields in generated code in mdatagen. (#14560)

  • cmd/mdatagen: Add opt-in override_value support for resource_attributes config via override_value_enabled flag (#15109) Components can opt in by setting override_value_enabled: true in their metadata.yaml. When enabled, per-attribute config types are generated with typed override_value fields that let users override resource attribute values in the collector configuration. Components without the flag continue to use the shared ResourceAttributeConfig type.

  • cmd/mdatagen: Extend mdatagen config code generation to correctly handle default values for allOf embedded references (#14560)

  • cmd/mdatagen: Handle string validators in generated config structs (#14807) Supported validators include minLength, maxLength and pattern.

  • pkg/config/configgrpc: Add a DefaultBalancerName constant for the name of the default load balancer (#15139) This replaces the BalancerName function.

  • pkg/config/configgrpc: Accept gRPC resolver scheme URIs in client endpoint (e.g. passthrough:///host:port) to allow control over name resolution (#14990) After the migration to grpc.NewClient, some gRPC client components such as the OTLP exporter experienced connection issues in dual-stack DNS environments. This can now be fixed by using the passthrough:/// gRPC resolver scheme in the endpoint field.

  • pkg/exporterhelper: Added the WithAttrs option to allow custom attributes on exporter metrics (#14998)

🧰 Bug fixes 🧰

  • cmd/mdatagen: Fix a bug in mdatagen where the allOf field was not being properly handled, resulting in incorrect generation of data models. (#15153)

  • pkg/otelcol: Synchronize Collector Run and Shutdown lifecycles so that Shutdown blocks until Run completes all cleanup. (#4947) Shutdown now blocks until Run finishes cleanup, matching http.Server semantics. If Shutdown is called before Run, the next Run call returns nil after cleaning up the config provider.

  • pkg/pdata: Use pool-aware constructors in gRPC service handlers so top-level request structs participate in the sync.Pool lifecycle. (#14763) The gRPC service handlers for all signal types allocated the top-level ExportXxxServiceRequest with bare new(), bypassing the sync.Pool when pdata.useProtoPooling is enabled. This caused objects returned to the pool via Delete to never be retrieved. The handlers now use the pool-aware New*() constructors.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies go Pull requests that update Go code labels Apr 29, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 29, 2026 20:13
@dependabot dependabot Bot added dependencies go Pull requests that update Go code labels Apr 29, 2026
Bumps [go.opentelemetry.io/collector/component/componenttest](https://github.com/open-telemetry/opentelemetry-collector) from 0.150.0 to 0.151.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.150.0...v0.151.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/component/componenttest
  dependency-version: 0.151.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump go.opentelemetry.io/collector/component/componenttest from 0.141.0 to 0.151.0 Bump go.opentelemetry.io/collector/component/componenttest from 0.150.0 to 0.151.0 May 5, 2026
@dependabot dependabot Bot force-pushed the dependabot-go_modules-go.opentelemetry.io-collector-component-componenttest-0.151.0 branch from bd084e4 to a619c63 Compare May 5, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants