-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatasources.yaml
50 lines (50 loc) · 1.07 KB
/
datasources.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: 1
datasources:
- name: Loki
type: loki
uid: loki
access: proxy
orgId: 1
url: http://loki:3100
basicAuth: false
isDefault: false
version: 1
editable: true
apiVersion: 1
jsonData:
derivedFields:
- name: TraceID
datasourceUid: tempo
matcherRegex: '"traceid":"(\w+)"'
url: $${__value.raw}
- name: Tempo
type: tempo
uid: tempo
url: http://tempo/
access: proxy
editable: true
isDefault: false
jsonData:
httpMethod: GET
tracesToLogs:
datasourceUid: "loki"
filterBySpanID: true
filterByTraceID: true
mapTagNamesEnabled: true
mappedTags:
- key: service.name
value: service_name
spanEndTimeShift: "1s"
version: 1
- name: Prometheus
type: prometheus
url: http://prometheus:9090/
access: proxy
editable: true
isDefault: true
version: 1
jsonData:
httpMethod: GET
exemplarTraceIdDestinations:
- name: trace_id
datasourceUid: tempo