49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
|
|
apiVersion: 1
|
||
|
|
|
||
|
|
datasources:
|
||
|
|
- name: Prometheus
|
||
|
|
type: prometheus
|
||
|
|
uid: prometheus
|
||
|
|
url: http://prometheus:9090
|
||
|
|
access: proxy
|
||
|
|
isDefault: false
|
||
|
|
jsonData:
|
||
|
|
httpMethod: POST
|
||
|
|
exemplarTraceIdDestinations:
|
||
|
|
- name: trace_id
|
||
|
|
datasourceUid: tempo
|
||
|
|
|
||
|
|
- name: Tempo
|
||
|
|
type: tempo
|
||
|
|
uid: tempo
|
||
|
|
url: http://tempo:3200
|
||
|
|
access: proxy
|
||
|
|
isDefault: false
|
||
|
|
jsonData:
|
||
|
|
tracesToLogsV2:
|
||
|
|
datasourceUid: loki
|
||
|
|
spanStartTimeShift: '-1h'
|
||
|
|
spanEndTimeShift: '1h'
|
||
|
|
filterByTraceID: true
|
||
|
|
filterBySpanID: true
|
||
|
|
tracesToMetrics:
|
||
|
|
datasourceUid: prometheus
|
||
|
|
nodeGraph:
|
||
|
|
enabled: true
|
||
|
|
lokiSearch:
|
||
|
|
datasourceUid: loki
|
||
|
|
|
||
|
|
- name: Loki
|
||
|
|
type: loki
|
||
|
|
uid: loki
|
||
|
|
url: http://loki:3100
|
||
|
|
access: proxy
|
||
|
|
isDefault: true
|
||
|
|
jsonData:
|
||
|
|
derivedFields:
|
||
|
|
- datasourceUid: tempo
|
||
|
|
matcherRegex: '"trace_id":"([a-f0-9]+)"'
|
||
|
|
name: TraceID
|
||
|
|
url: '$${__value.raw}'
|
||
|
|
urlDisplayLabel: 'View Trace'
|