Filter duplicate logs out of some `logger`'s logs that might otherwise endlessly log by DylanRussell · Pull Request #4695 · open-telemetry/opentelemetry-python

added 2 commits

July 21, 2025 16:59

@DylanRussell

pmcollins

xrmx

xrmx

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
…metry/exporter/otlp/proto/common/_internal/__init__.py

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

@DylanRussell

@DylanRussell

@DylanRussell

emdneto

emdneto

cijothomas

@DylanRussell

@DylanRussell

@xrmx

xrmx

@DylanRussell

xrmx

xrmx approved these changes Aug 25, 2025

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

Feb 17, 2026
…e endlessly log (open-telemetry#4695)

* Add DuplicateFilter to http/grpc exporter

* Precommit and Changelog

* Fix lint issue. Add comment

* Update CHANGELOG.md

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

* Update exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py

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

* Add filter to BatchProcessor class

* Run precommit and add DuplicateFilter to another place..

* Move DuplicateFilter to SDK

* improve changelog entry

* Precommit and comment changes

* Fix broken test

* Precommit

* Fix lint issue

* precommit

* test repro of issue

* add print statements

* undo debug stuff

* Update time to 20s

---------

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
…e endlessly log (open-telemetry#4695)

* Add DuplicateFilter to http/grpc exporter

* Precommit and Changelog

* Fix lint issue. Add comment

* Update CHANGELOG.md

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

* Update exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py

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

* Add filter to BatchProcessor class

* Run precommit and add DuplicateFilter to another place..

* Move DuplicateFilter to SDK

* improve changelog entry

* Precommit and comment changes

* Fix broken test

* Precommit

* Fix lint issue

* precommit

* test repro of issue

* add print statements

* undo debug stuff

* Update time to 20s

---------

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