Add docker and compose config
Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
42
compose/grafana/provisioning/datasources/datasources.yaml
Normal file
42
compose/grafana/provisioning/datasources/datasources.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: 1
|
||||
deleteDatasources:
|
||||
- name: "Prometheus"
|
||||
- name: "Loki"
|
||||
- name: "Tempo"
|
||||
datasources:
|
||||
- name: "Prometheus"
|
||||
type: "prometheus"
|
||||
access: "proxy"
|
||||
url: "http://prometheus:9191"
|
||||
basicAuth: false
|
||||
jsonData:
|
||||
httpMethod: "POST"
|
||||
manageAlerts: true
|
||||
prometheusType: "Prometheus"
|
||||
cacheLevel: 'High'
|
||||
disableRecordingRules: false
|
||||
incrementalQueryOverlapWindow: 10m
|
||||
isDefault: false
|
||||
version: 1
|
||||
editable: false
|
||||
- name: "Loki"
|
||||
type: "loki"
|
||||
access: "proxy"
|
||||
url: "http://loki:3100"
|
||||
basicAuth: false
|
||||
version: 1
|
||||
editable: false
|
||||
jsonData:
|
||||
derivedFields:
|
||||
- datasourceUid: "tempo"
|
||||
matcherRegex: traceID=(\w+)
|
||||
name: "TraceID"
|
||||
url: $${__value.raw}
|
||||
- name: "Tempo"
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: "http://tempo:3200"
|
||||
basicAuth: false
|
||||
isDefault: true
|
||||
version: 1
|
||||
editable: false
|
||||
Reference in New Issue
Block a user