I have a use case which would require HTTPS (#1) as well as custom certs, e.g. as cURL
curl \
--cacert my_ca_cert.crt --cert my_cert.crt --key my_key.key \
--data 'query=count(up) by (job)' https://my.example.com/prometheus/my_segment/api/v1/query
I understand it's nontrivial, given the communication with Prometheus happens entirely in JS. But maybe can has? 😇