SIGN IN SIGN UP

feat: Add ability to selectively enable exporting of SDK internal metrics (#5151)

* feat: Add ability to selectively enable exporting of SDK internal metrics with the OTEL_PYTHON_SDK_METRIC_ENABLE environment variable

* refactor ProcessorMetrics

* remove unused instance variable

* minor refactor

* update naming of internal metric environment variable

* update exporter metrics

* implementation suggestions

* fix test errors

* fix proto common test errors

* small tweak to exporter metrics test

* remove usage of internal helper function

* update license headers

---------

Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
L
Lukas Hering committed
d9467eb86e97a8e566b90c41ea809c7734e95655
Parent: 7c46f3c
Committed by GitHub <noreply@github.com> on 5/11/2026, 9:02:33 AM