You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
522 B
YAML
18 lines
522 B
YAML
3 years ago
|
{{ ansible_managed | comment }}
|
||
|
apiVersion: 1
|
||
|
|
||
|
datasources:
|
||
|
- name: Prometheus
|
||
|
type: prometheus
|
||
|
# Access mode - proxy (server in the UI) or direct (browser in the UI).
|
||
|
access: proxy
|
||
|
url: https://{{ lan_address }}:9090
|
||
|
jsonData:
|
||
|
httpMethod: POST
|
||
|
tlsAuth: true
|
||
|
tlsAuthWithCACert: true
|
||
|
secureJsonData:
|
||
|
tlsCACert: $__file{/etc/grafana/ca.cert}
|
||
|
tlsClientCert: $__file{/etc/grafana/grafana-{{ lan_address }}.cert}
|
||
|
tlsClientKey: $__file{/etc/grafana/grafana-{{ lan_address }}.key}
|