41 lines
774 B
YAML
41 lines
774 B
YAML
apiVersion: 1
|
|
|
|
deleteDatasources:
|
|
- name: Prometheus
|
|
orgId: 1
|
|
- name: Loki
|
|
orgId: 1
|
|
|
|
datasources:
|
|
- name: Prometheus
|
|
uid: prometheus
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://prometheus:9090
|
|
isDefault: true
|
|
editable: false
|
|
jsonData:
|
|
timeInterval: 30s
|
|
|
|
- name: Loki
|
|
uid: loki
|
|
type: loki
|
|
access: proxy
|
|
url: http://loki:3100
|
|
editable: false
|
|
jsonData:
|
|
derivedFields:
|
|
- name: TraceID
|
|
matcherRegex: 'trace[_-]?id["=: ]+([a-fA-F0-9]+)'
|
|
url: ''
|
|
|
|
- name: Alertmanager
|
|
uid: alertmanager
|
|
type: alertmanager
|
|
access: proxy
|
|
url: http://alertmanager:9093
|
|
editable: false
|
|
jsonData:
|
|
implementation: prometheus
|
|
handleGrafanaManagedAlerts: false
|