You can add a separate tls_config key at the top level of the scrape job,. This controls TLS used for https scrapes (as opposed to service discovery). See:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config Hence: - job_name: "grafana" consul_sd_configs: - server: "consul.service.consul:8500" services: - grafana scheme: https tls_config: insecure_skip_verify: true relabel_configs: - source_labels: [__meta_consul_node] target_label: hostname - target_label: __scheme__ replacement: https * tls_config:* * insecure_skip_verify: true* -- 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/7d68f8e3-2a97-4e33-a188-a6d777477227n%40googlegroups.com.

