Following #34473 refactor to use url.ParseQuery in the Prometheus custom query parameter middleware. Ref #34473
Following #33439 this refactors the Prometheus HTTP transport which is replaced by HTTP client middleware.