EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 71d9ff35 authored by Karl Grube's avatar Karl Grube
Browse files

working TLS configuration for prometheus

parent fff78b63
No related branches found
No related tags found
No related merge requests found
......@@ -13,3 +13,4 @@
src: prometheus.yml.j2
dest: /etc/prometheus/prometheus.yml
notify: restart prometheus
tags: prometheus_conf
......@@ -37,7 +37,7 @@ scrape_configs:
static_configs:
- targets: ['localhost:9090']
- job_name: dns_scrape
#scheme: https
scheme: https
tls_config:
# Prometheus will check that the node_exporter presents a certificate
# signed by this ca.
......@@ -46,7 +46,6 @@ scrape_configs:
# Prometheus as a client.
cert_file: '/etc/ssl/prometheus_client/{{fqdn}}.crt'
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
min_version: TLS13
dns_sd_configs:
- names:
- '{{datacenter}}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment