SIGN IN SIGN UP

Add registry keyword argument to PrometheusMetricReader (#5055)

* Add registry keyword argument to PrometheusMetricReader

* Fix lint, formatting, and changelog for PrometheusMetricReader registry kwarg

* Apply suggestions from code review

Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>

* Fix CollectorRegistry import and test assertion

* Fix ruff formatting

* fix: convert CRLF to LF in test file

* Fix ruff formatting

* Update exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus/__init__.py

---------

Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
M
Manvi committed
4d27369a59cf6f3d4a6d0a0eef82148272fcc142
Parent: e9ca270
Committed by GitHub <noreply@github.com> on 5/8/2026, 9:27:19 PM