Skip to content

fix(deps): Update go.opentelemetry.io/collector/pdata to v1.60.0 (main)#21744

Merged
rfratto merged 1 commit into
mainfrom
deps-update/main-go.opentelemetry.iocollectorpdata
Jun 12, 2026
Merged

fix(deps): Update go.opentelemetry.io/collector/pdata to v1.60.0 (main)#21744
rfratto merged 1 commit into
mainfrom
deps-update/main-go.opentelemetry.iocollectorpdata

Conversation

@renovate-sh-app

@renovate-sh-app renovate-sh-app Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/collector/pdata v1.56.0v1.60.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/pdata)

v1.60.0

🛑 Breaking changes 🛑
  • cmd/builder: The --skip-get-modules flag will no longer regenerate your go.mod file. (#​15390)
    This is mostly a bug fix, as it led to adverse behaviour that was unintended in the described flow in the README.
    Now when you run --skip-get-modules, your go.mod file will truly be untouched by ocb as the info log claims.
💡 Enhancements 💡
  • pkg/config/configtls: Add include_insecure_cipher_suites to configtls to enable insecure cipher suites. Insecure cipher suites are disabled by default for security. (#​13829)
  • pkg/confighttp: Add ExposedHeaders field to CORSConfig to allow setting the Access-Control-Expose-Headers response header. (#​15119)
🧰 Bug fixes 🧰
  • cmd/mdatagen: Removes the extra line in the README.md between status and description (#​15306)
  • pkg/exporterhelper: Fix nil-pointer panic in sending_queue::batch Unmarshal when sending_queue::sizer is set and sending_queue::batch::enabled is false. (#​14687)
    When sending_queue::sizer was set and sending_queue::batch::enabled: false
    cleared the batch Optional to None, the sizer-inheritance branch in
    queuebatch.Config.Unmarshal dereferenced a nil Optional and crashed the
    collector at startup. The branch now also requires Batch.HasValue().

v1.59.0

🛑 Breaking changes 🛑
  • pkg/configoptional: Stabilize feature gate configoptional.AddEnabledField (#​15333)
  • pkg/confmap: Stabilize confmap.newExpandedValueSanitizer feature gate (#​15339)
  • pkg/exporterhelper: mark exporter.PersistRequestContext as stable (#​15330)
  • pkg/otelcol: Stabilize otelcol.printInitialConfig gate (#​15340)
  • pkg/pdata: Remove pdata.useCustomProtoEncoding feature gate (#​15332)
  • pkg/service: Stabilize telemetry.UseLocalHostAsDefaultMetricsAddress gate (#​15342)
  • pkg/xpdata: Stabilize pdata.enableRefCounting feature gate (#​15331)
🧰 Bug fixes 🧰
  • pkg/config/configgrpc: Fix memory corruption and fatal error in Snappy (#​15237, #​15320)

v1.58.0

💡 Enhancements 💡
  • pkg/exporterhelper: Add otelcol_exporter_in_flight_requests metric to track the number of export requests currently in-flight per exporter. (#​15009)
    This UpDownCounter increments in startOp and decrements in endOp, allowing operators to monitor
    concurrent export activity and detect when an exporter is saturating its worker pool.
🧰 Bug fixes 🧰
  • pkg/confighttp: Close the original request body after reading block-format Content-Encoding: snappy requests. (#​15262)

  • pkg/confighttp: Recover from panics in decompression libraries, return HTTP 400 instead of 500. (#​13228)

  • pkg/confighttp: Enforce max_request_body_size on Content-Encoding: snappy requests before the decoded buffer is allocated. (#​15252)

  • pkg/otelcol: Stop emitting verbose gRPC transport messages at WARN during normal client disconnect. (#​5169)
    grpc-go gates chatty per-RPC notices (e.g. "HandleStreams failed to read frame:
    connection reset by peer") behind LoggerV2.V(2). zapgrpc.Logger.V conflates
    grpclog verbosity with zap severity, so V(2) returns true whenever WARN is
    enabled and these messages emit at WARN. Wrap the installed grpclog.LoggerV2
    with a corrected V() that compares against a fixed verbosity threshold,
    matching grpclog's intended semantics. See uber-go/zap#1544.

  • pkg/pdata: pcommon.Value.AsString no longer HTML-escapes <, >, and & inside ValueTypeMap and ValueTypeSlice values, matching the behavior already used for ValueTypeStr. (#​14662)

  • pkg/service: Fix Prometheus config defaults mismatch when host is explicitly set in telemetry configuration. (#​13867)
    When users explicitly configured the telemetry metrics section (e.g. to change the host),
    the Prometheus exporter boolean fields (WithoutScopeInfo, WithoutUnits, WithoutTypeSuffix)
    defaulted to nil/false instead of true, causing metric name format changes compared to the
    implicit default configuration. This fix applies the correct defaults during config unmarshaling.

  • pkg/service: Return noop tracer provider when no trace processors are defined (#​15135)

v1.57.0

🛑 Breaking changes 🛑
  • cmd/builder: In the generated Collector source, the replace statements in the Go module will now use relative paths by default. (#​15097)
    We expect that this will not break existing use-cases where the generated collector is only used in an interim manner for builds. It enables the possibility of tracking the generated Collector code as a longer living artifact, allowing it to be run on any machine (whereas absolute paths will be different depending on the machine the Collector source is generated on.) We have added dist::use_absolute_replace_paths to go back to the absolute path behaviour in the case where there is an unforeseen use-case that requires absolute paths.

  • pkg/confighttp: Stabilize framedSnappy feature gate. (#​15096)

💡 Enhancements 💡
  • all: Add declarative schema support for service telemetry resource configuration. (#​14411)
    The service::telemetry::resource configuration now accepts the declarative schema with explicit name/value pairs:

    service:
      telemetry:
        resource:
          schema_url: https://opentelemetry.io/schemas/1.38.0
          attributes:
            - name: service.name
              value: my-collector
            - name: host.name
              value: collector-host

    The legacy inline attribute map format is still supported for backward compatibility:

    service:
      telemetry:
        resource:
          service.name: my-collector
          host.name: collector-host

    Note: resource.detectors is accepted for forward compatibility but is not yet applied by the collector.

  • exporter/otlp_grpc: Added the server.address and url.path attributes to metrics generated by the otlp exporter. (#​14998)

  • exporter/otlp_http: Added the server.address and url.path attributes to metrics generated by the otlp_http exporter. (#​14998)

  • pkg/config/configgrpc: Add UserAgent field to ClientConfig to allow overriding the default gRPC user-agent string. (#​14686)
    The otlp gRPC exporter was unconditionally setting the User-Agent via
    grpc.WithUserAgent() at dial time, which takes precedence over per-call
    metadata, causing any user-configured User-Agent to be silently discarded.
    A dedicated UserAgent field has been added to ClientConfig which, when
    set, is used in the dial option directly instead of the default BuildInfo-derived string.

  • 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/config/confignet: Add support for Windows Named Pipe (npipe) transport (#​15085)

  • pkg/service: Emit a warning when using the old v0.2.0 declarative config format (#​15088)

🧰 Bug fixes 🧰
  • pkg/otelcol: Print components exactly once in the otelcol components command (#​14682)
    This resolves an issue where aliased components were skipped.

  • 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 spec-compliant string representation for NaN, Infinity, and -Infinity in Value.AsString(). (#​14487)

  • pkg/pprofile: Fix data corruption of resource and scope attributes after marshal-unmarshal-merge round-trip. (#​15084)

  • pkg/service: Non-string resource attributes in telemetry configuration now return an error instead of panicking (#​15171)

  • pkg/xscraperhelper: fix the merge of profiles in the profiling scraper helpers (#​14790)

  • receiver/otlp: Fix profiles receiver reporting its samples as spans (#​15089)


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

@renovate-sh-app renovate-sh-app Bot requested a review from a team as a code owner May 1, 2026 19:08
@renovate-sh-app renovate-sh-app Bot added dependencies Pull requests that update a dependency file update-minor labels May 1, 2026
@renovate-sh-app

renovate-sh-app Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
google.golang.org/grpc v1.80.0 -> v1.81.1
go.opentelemetry.io/collector/featuregate v1.56.0 -> v1.60.0
go.opentelemetry.io/contrib/detectors/gcp v1.39.0 -> v1.42.0
github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 -> v0.0.0-20260202195803-dba9d589def2

@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch 21 times, most recently from 005af39 to 91114dc Compare May 11, 2026 11:54
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch 4 times, most recently from 433ebe0 to 84e3b97 Compare May 11, 2026 20:44
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch 12 times, most recently from 899f99d to b3efde4 Compare May 14, 2026 14:09
@renovate-sh-app renovate-sh-app Bot changed the title fix(deps): Update module go.opentelemetry.io/collector/pdata to v1.57.0 (main) fix(deps): Update module go.opentelemetry.io/collector/pdata to v1.58.0 (main) May 14, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Missing nil check causes panic on missing config
    • Restored the missing certificate provider config map lookup guard so absent instances return a descriptive error instead of panicking.

Create PR

Or push these changes by commenting:

@cursor push 89ac98bfc3
Preview (89ac98bfc3)
diff --git a/vendor/google.golang.org/grpc/internal/xds/balancer/clusterimpl/clusterimpl.go b/vendor/google.golang.org/grpc/internal/xds/balancer/clusterimpl/clusterimpl.go
--- a/vendor/google.golang.org/grpc/internal/xds/balancer/clusterimpl/clusterimpl.go
+++ b/vendor/google.golang.org/grpc/internal/xds/balancer/clusterimpl/clusterimpl.go
@@ -297,7 +297,13 @@
 }
 
 func buildProviderFunc(configs map[string]*certprovider.BuildableConfig, instanceName, certName string, wantIdentity, wantRoot bool) (certprovider.Provider, error) {
-	cfg := configs[instanceName]
+	cfg, ok := configs[instanceName]
+	if !ok {
+		// Defensive programming. If a resource received from the management
+		// server contains a certificate provider instance name that is not
+		// found in the bootstrap, the resource is NACKed by the xDS client.
+		return nil, fmt.Errorf("xds: certificate provider instance %q not found in bootstrap file", instanceName)
+	}
 	provider, err := cfg.Build(certprovider.BuildOptions{
 		CertName:     certName,
 		WantIdentity: wantIdentity,

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit b3efde4. Configure here.


func buildProviderFunc(configs map[string]*certprovider.BuildableConfig, instanceName, certName string, wantIdentity, wantRoot bool) (certprovider.Provider, error) {
cfg := configs[instanceName]
provider, err := cfg.Build(certprovider.BuildOptions{

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing nil check causes panic on missing config

High Severity

The buildProviderFunc in clusterimpl removed the nil-safety check that existed in the original version in cdsbalancer. The old code used cfg, ok := configs[instanceName] and returned a descriptive error if ok was false. The new code does cfg := configs[instanceName] without checking whether the key exists. If instanceName is absent from configs, cfg will be nil, and calling cfg.Build(...) on the next line will cause a nil pointer dereference panic.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b3efde4. Configure here.

@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch 2 times, most recently from 6ca1811 to 30d41f4 Compare May 28, 2026 08:24
@renovate-sh-app renovate-sh-app Bot changed the title fix(deps): Update module go.opentelemetry.io/collector/pdata to v1.58.0 (main) fix(deps): Update module go.opentelemetry.io/collector/pdata to v1.59.0 (main) May 28, 2026
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch 2 times, most recently from b8c63c5 to ff7923a Compare June 1, 2026 11:13
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch from ff7923a to 678f876 Compare June 8, 2026 11:08
@renovate-sh-app renovate-sh-app Bot changed the title fix(deps): Update module go.opentelemetry.io/collector/pdata to v1.59.0 (main) fix(deps): Update go.opentelemetry.io/collector/pdata to v1.59.0 (main) Jun 10, 2026
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch from 678f876 to 70a9170 Compare June 12, 2026 02:15
@renovate-sh-app renovate-sh-app Bot changed the title fix(deps): Update go.opentelemetry.io/collector/pdata to v1.59.0 (main) fix(deps): Update go.opentelemetry.io/collector/pdata to v1.60.0 (main) Jun 12, 2026
| datasource | package                             | from    | to      |
| ---------- | ----------------------------------- | ------- | ------- |
| go         | go.opentelemetry.io/collector/pdata | v1.56.0 | v1.60.0 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app renovate-sh-app Bot force-pushed the deps-update/main-go.opentelemetry.iocollectorpdata branch from 70a9170 to 1695574 Compare June 12, 2026 23:08
@rfratto rfratto merged commit f9dd4a6 into main Jun 12, 2026
87 checks passed
@rfratto rfratto deleted the deps-update/main-go.opentelemetry.iocollectorpdata branch June 12, 2026 23:42
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 size/S update-minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant