Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/docker-otel-lgtm
Path: blob/main/docker/grafana-datasources.yaml
401 views
1
apiVersion: 1
2
3
datasources:
4
5
- name: Prometheus
6
type: prometheus
7
uid: prometheus
8
url: http://localhost:9090
9
jsonData:
10
timeInterval: 60s
11
exemplarTraceIdDestinations:
12
- name: traceID
13
datasourceUid: tempo
14
urlDisplayLabel: 'Trace: $${__value.raw}'
15
16
- name: Tempo
17
type: tempo
18
uid: tempo
19
url: http://localhost:3200
20
jsonData:
21
tracesToLogsV2:
22
customQuery: true
23
datasourceUid: 'loki'
24
query: '{$${__tags}} | trace_id = "$${__trace.traceId}"'
25
tags:
26
- key: 'service.name'
27
value: 'service_name'
28
29
serviceMap:
30
datasourceUid: 'prometheus'
31
search:
32
hide: false
33
nodeGraph:
34
enabled: true
35
lokiSearch:
36
datasourceUid: 'loki'
37
38
- name: Loki
39
type: loki
40
uid: loki
41
url: http://localhost:3100
42
jsonData:
43
derivedFields:
44
- name: 'trace_id'
45
matcherType: 'label'
46
matcherRegex: 'trace_id'
47
url: '$${__value.raw}'
48
datasourceUid: 'tempo'
49
urlDisplayLabel: 'Trace: $${__value.raw}'
50
51