Hi,

I'm running a service which is *exposing metrics on https*, service has
enabled with tls certs.
I want *Prometheus to scrape metrics from that https *endpoint.

Will this work? Where ca_file is the service certificate?

scrape_configs:
  - job_name: 'prometheus'
    scheme: https
    tls_config:
      ca_file: service.crt
    static_configs:
    - targets: ['https://xx.xxx.xxx.xxx:9090']



Is there any provision to do that?

thanks,
Akshay

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAOrgXNK9UstsGXmo_1-tUDdEpYGK5ChjYjxySnKRvsWi78FN5Q%40mail.gmail.com.

Reply via email to