Fix: Reinitialize gRPC channel on UNAVAILABLE error by dheeraj-vanamala · Pull Request #4825 · open-telemetry/opentelemetry-python

@dheeraj-vanamala

DylanRussell

@dheeraj-vanamala

DylanRussell

@dheeraj-vanamala

…mments

- Remove aggressive gRPC keepalive and retry settings to rely on defaults.
- Fix compression precedence logic to correctly handle NoCompression (0).
- Refactor channel initialization to be stateless (remove _channel_reconnection_enabled).- Update documentation to refer to 'OTLP-compatible receiver'

DylanRussell

DylanRussell

@dheeraj-vanamala dheeraj-vanamala changed the title Fix: Reinitialize gRPC channel on UNAVAILABLE error (Fixes #4517) Fix: Reinitialize gRPC channel on UNAVAILABLE error (Fixes #4517) (Fixes #4529)

Dec 9, 2025

xrmx

@dheeraj-vanamala

@xrmx xrmx changed the title Fix: Reinitialize gRPC channel on UNAVAILABLE error (Fixes #4517) (Fixes #4529) Fix: Reinitialize gRPC channel on UNAVAILABLE error

Jan 22, 2026

xrmx and others added 3 commits

January 22, 2026 10:41

xrmx

xrmx approved these changes Jan 27, 2026

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
)

* Fix: Reinitialize gRPC channel on UNAVAILABLE error (Fixes open-telemetry#4517)

* fix: address PR review comments for gRPC reconnection

* refactor(exporter): simplify reconnection logic and address review comments
- Remove aggressive gRPC keepalive and retry settings to rely on defaults.
- Fix compression precedence logic to correctly handle NoCompression (0).
- Refactor channel initialization to be stateless (remove _channel_reconnection_enabled).- Update documentation to refer to 'OTLP-compatible receiver'

* fix: remove extra blank line in docstring

* fix(exporter): address typecheck errors and add changelog entry

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>