use mssl for self monitoring of prometheus
This commit is contained in:
parent
dd550700d0
commit
9128194144
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ scrape_configs:
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['{{ lan_address }}:9090']
|
- 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
|
- job_name: node
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
|
|
Loading…
Reference in a new issue