use mssl for self monitoring of prometheus

This commit is contained in:
histausse 2021-10-06 14:15:14 +02:00
parent dd550700d0
commit 9128194144
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -31,6 +31,11 @@ scrape_configs:
static_configs:
- targets: ['{{ lan_address }}:9090']
scheme: https
tls_config:
ca_file: '/etc/prometheus/ca.crt'
cert_file: '/etc/prometheus/prometheus-{{ lan_address }}.crt'
key_file: '/etc/prometheus/prometheus-{{ lan_address }}.key'
- job_name: node
file_sd_configs: