forked from mtusi2026/mtusi2026lab7
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
apiVersion: 1
|
|
# Grafana -> data sources: TLS with server verification (CA + serverName) and the grafana client identity (mTLS).
|
|
datasources:
|
|
- name: Prometheus
|
|
uid: prometheus
|
|
type: prometheus
|
|
access: proxy
|
|
url: https://prometheus:9090
|
|
isDefault: true
|
|
jsonData: {timeInterval: 15s, tlsAuth: true, tlsAuthWithCACert: true, serverName: prometheus}
|
|
secureJsonData: {tlsCACert: "$__file{/pki/ca.crt}", tlsClientCert: "$__file{/pki/tls.crt}", tlsClientKey: "$__file{/pki/tls.key}"}
|
|
- name: Loki
|
|
uid: loki
|
|
type: loki
|
|
access: proxy
|
|
url: https://loki:3100
|
|
jsonData: {tlsAuth: true, tlsAuthWithCACert: true, serverName: loki}
|
|
secureJsonData: {tlsCACert: "$__file{/pki/ca.crt}", tlsClientCert: "$__file{/pki/tls.crt}", tlsClientKey: "$__file{/pki/tls.key}"}
|
|
- name: Tempo
|
|
uid: tempo
|
|
type: tempo
|
|
access: proxy
|
|
url: https://tempo:3200
|
|
jsonData: {tlsAuth: true, tlsAuthWithCACert: true, serverName: tempo}
|
|
secureJsonData: {tlsCACert: "$__file{/pki/ca.crt}", tlsClientCert: "$__file{/pki/tls.crt}", tlsClientKey: "$__file{/pki/tls.key}"}
|