-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatasources.yml
More file actions
37 lines (34 loc) · 794 Bytes
/
datasources.yml
File metadata and controls
37 lines (34 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
uid: prometheus
- name: Loki
type: loki
access: proxy
url: http://loki:3100
uid: loki
jsonData:
derivedFields:
- name: traceID
matcherRegex: "trace_id=(\\w+)"
datasourceUid: tempo
urlDisplayLabel: "View trace"
- name: Tempo
type: tempo
access: proxy
url: http://tempo:3200
uid: tempo
jsonData:
nodeGraph:
enabled: true
tracesToLogsV2:
datasourceUid: loki
spanStartTimeShift: "-10m"
spanEndTimeShift: "10m"
filterByTraceID: true
useGRPC: false # 👈 force HTTP
# (optional) httpMethod: GET