feat(http): add error handling for exporting by pafi-code · Pull Request #4709 · open-telemetry/opentelemetry-python
xrmx approved these changes Jan 20, 2026
xrmx
enabled auto-merge (squash)
JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request
Feb 17, 2026* feat(http): add error handling for exporting * feat(http_exporter): allow to run retry loop on connection errors * feat(http): change error types that are caught * refactor(http): introduce variables to unify logging * feat(http_exporter): only retry on connection error * test(http_exporter): add test case for connection errors while exporting * refactor(http): simplify if statements * docs(changelog): add changes * fix(http_exporter): use correct class after rebase * docs(changelog): update changelog * refactor(http_exporter): add empty space in logs * docs(tests): remove comments * refactor(tests): simplify tests * Update CHANGELOG.md * Update exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py * Apply suggestions from code review --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request
Feb 17, 2026* feat(http): add error handling for exporting * feat(http_exporter): allow to run retry loop on connection errors * feat(http): change error types that are caught * refactor(http): introduce variables to unify logging * feat(http_exporter): only retry on connection error * test(http_exporter): add test case for connection errors while exporting * refactor(http): simplify if statements * docs(changelog): add changes * fix(http_exporter): use correct class after rebase * docs(changelog): update changelog * refactor(http_exporter): add empty space in logs * docs(tests): remove comments * refactor(tests): simplify tests * Update CHANGELOG.md * Update exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py * Apply suggestions from code review --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters