[PR #2003] Upgrade gRPC and OpenTelemetry packages for compatibility #16207

Closed
opened 2026-08-05 04:05:51 -04:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/2003

State: closed
Merged: Yes


Describe your changes

Upgrades go.opentelemetry.io/otel from version v1.11.1 to v1.26.0. The upgrade addresses compatibility issues caused by the removal of several sub-packages in the latest OpenTelemetry release, which were causing broken dependencies.

Key Changes:

  • Upgraded go.opentelemetry.io/otel from v1.11.1 to v1.26.0.

  • Fixed broken dependencies by replacing the deprecated sub-packages:

    • go.opentelemetry.io/otel/metric/instrument
    • go.opentelemetry.io/otel/metric/instrument/asyncint64
    • go.opentelemetry.io/otel/metric/instrument/syncint64
  • Upgraded google.golang.org/grpc from v1.56.3 to v1.64.0 which deprecate Dial and DialContext to NewClient.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/2003 **State:** closed **Merged:** Yes --- ## Describe your changes Upgrades `go.opentelemetry.io/otel` from version` v1.11.1` to `v1.26.0`. The upgrade addresses compatibility issues caused by the removal of several sub-packages in the latest OpenTelemetry release, which were causing broken dependencies. **Key Changes:** - Upgraded `go.opentelemetry.io/otel` from `v1.11.1` to `v1.26.0`. - Fixed broken dependencies by replacing the deprecated sub-packages: - `go.opentelemetry.io/otel/metric/instrument` - `go.opentelemetry.io/otel/metric/instrument/asyncint64` - `go.opentelemetry.io/otel/metric/instrument/syncint64` - Upgraded `google.golang.org/grpc` from `v1.56.3` to `v1.64.0` which deprecate `Dial` and `DialContext` to `NewClient`. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2026-08-05 04:05:51 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#16207