Skip to content

Allow user-supplied certs for communication with Prometheus server #2

@peterbourgon

Description

@peterbourgon

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? 😇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions