3328ac8206
Prometheus: Prevent duplicate registration of custom header middleware (#84860)
* remove dupe middleware
* fix test
(cherry picked from commit c8c372c327)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>