Skip to content

Bump go.opentelemetry.io/collector/component/componenttest from 0.141.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.141.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.141.0 to 0.151.0.

Release notes

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

v0.146.0

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

End User Changelog

🛑 Breaking changes 🛑

  • all: Increase minimum Go version to 1.25 (#14567)

🚩 Deprecations 🚩

  • pdata/pprofile: Declare removed aggregation elements as deprecated. (#14528)

💡 Enhancements 💡

  • all: Add detailed failure attributes to exporter send_failed metrics at detailed telemetry level. (#13956) The otelcol_exporter_send_failed_{spans,metric_points,log_records} metrics now include failure attributes when telemetry level is Detailed: error.type (OpenTelemetry semantic convention describing the error class) and error.permanent (indicates if error is permanent/non-retryable). The error.type attribute captures gRPC status codes (e.g., "Unavailable", "ResourceExhausted"), standard Go context errors (e.g., "canceled", "deadline_exceeded"), and collector-specific errors (e.g., "shutdown"). This enables better alerting and debugging by providing standardized error classification.

  • cmd/builder: Introduce new experimental init subcommand (#14530) The new init subcommand initializes a new custom collector

  • cmd/builder: Add "telemetry" field to allow configuring telemetry providers (#14575) Most users should not need to use this, this field should only be set if you intend to provide your own OpenTelemetry SDK.

  • cmd/mdatagen: Introduce additional metadata (the version since the deprecation started, and the deprecation reason) for deprecated metrics. (#14113)

  • cmd/mdatagen: Add optional relationships field to entity schema in metadata.yaml (#14284)

  • exporter/debug: Add output_paths configuration option to control output destination when use_internal_logger is false. (#10472) When use_internal_logger is set to false, the debug exporter now supports configuring the output destination via the output_paths option. This allows users to send debug exporter output to stdout, stderr, or a file path. The default value is ["stdout"] to maintain backward compatibility.

  • pkg/confmap: Add experimental ToStringMapRaw function to decode confmap.Conf into a string map without losing internal types (#14480) This method exposes the internal structure of a confmap.Conf which may change at any time without prior notice

🧰 Bug fixes 🧰

  • cmd/mdatagen: Reset aggDataPoints during metric init to avoid index out of range panic across emit cycles when reaggregation is enabled. (#14569)
  • cmd/mdatagen: Fix panic when mdatagen is run without arguments. (#14506)
  • pdata/pprofile: Fix off-by-one issue in dictionary lookups. (#14534)
  • pkg/config/confighttp: Fix high cardinality span name from request method from confighttp server internal telemetry (#14516) Follow spec to bound request method cardinality.
  • pkg/otelcol: Ignore component aliases in the otelcol components command (#14492)
  • pkg/otelcol: Order providers and converters in alphabetical order in the components subcommand. (#14476)

... (truncated)

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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.opentelemetry.io/collector/component/componenttest](https://github.com/open-telemetry/opentelemetry-collector) from 0.141.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.141.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 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
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