Complete lab 7 security implementation
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: https://prometheus:9090
|
||||
isDefault: true
|
||||
editable: false
|
||||
uid: prometheus
|
||||
jsonData:
|
||||
tlsAuth: true
|
||||
tlsAuthWithCACert: true
|
||||
tlsSkipVerify: false
|
||||
secureJsonData:
|
||||
tlsCACert: '$__file{/certs/ca.crt}'
|
||||
tlsClientCert: '$__file{/certs/grafana.crt}'
|
||||
tlsClientKey: '$__file{/certs/grafana.key}'
|
||||
|
||||
- name: Loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: https://loki:3100
|
||||
editable: false
|
||||
uid: loki
|
||||
jsonData:
|
||||
tlsAuth: true
|
||||
tlsAuthWithCACert: true
|
||||
tlsSkipVerify: false
|
||||
|
||||
derivedFields:
|
||||
- datasourceUid: tempo
|
||||
matcherRegex: '"trace_id":"([a-f0-9]+)"'
|
||||
name: TraceID
|
||||
url: "$${__value.raw}"
|
||||
secureJsonData:
|
||||
tlsCACert: '$__file{/certs/ca.crt}'
|
||||
tlsClientCert: '$__file{/certs/grafana.crt}'
|
||||
tlsClientKey: '$__file{/certs/grafana.key}'
|
||||
|
||||
- name: Tempo
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: https://tempo:3200
|
||||
editable: false
|
||||
uid: tempo
|
||||
jsonData:
|
||||
tlsAuth: true
|
||||
tlsAuthWithCACert: true
|
||||
tlsSkipVerify: false
|
||||
|
||||
tracesToLogsV2:
|
||||
datasourceUid: loki
|
||||
filterByTraceID: true
|
||||
filterBySpanID: false
|
||||
serviceMap:
|
||||
datasourceUid: prometheus
|
||||
secureJsonData:
|
||||
tlsCACert: '$__file{/certs/ca.crt}'
|
||||
tlsClientCert: '$__file{/certs/grafana.crt}'
|
||||
tlsClientKey: '$__file{/certs/grafana.key}'
|
||||
Reference in New Issue
Block a user