File tree Expand file tree Collapse file tree 4 files changed +83
-1
lines changed
product-service/src/main/java/com/nipundas/product_service/config Expand file tree Collapse file tree 4 files changed +83
-1
lines changed Original file line number Diff line number Diff line change @@ -42,4 +42,25 @@ services:
42
42
volumes :
43
43
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
44
44
ports :
45
- - ' 9090:9090'
45
+ - ' 9090:9090'
46
+
47
+ tempo :
48
+ image : grafana/tempo:2.2.2
49
+ command : [ '-config.file=/etc/tempo.yaml' ]
50
+ volumes :
51
+ - ./docker/tempo/tempo.yml:/etc/tempo.yaml:ro
52
+ - ./docker/tempo/tempo-data:/tmp/tempo
53
+ ports :
54
+ - ' 3110:3100' # Tempo
55
+ - ' 9411:9411' # zipkin
56
+
57
+ grafana :
58
+ image : grafana/grafana:10.1.0
59
+ volumes :
60
+ - ./docker/grafana:/etc/grafana/provisioning/datasources:ro
61
+ environment :
62
+ - GF_AUTH_ANONYMOUS_ENABLED=true
63
+ - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
64
+ - GF_AUTH_DISABLE_LOGIN_FORM=true
65
+ ports :
66
+ - ' 3000:3000'
Original file line number Diff line number Diff line change
1
+ apiVersion : 1
2
+
3
+ datasources :
4
+ - name : Prometheus
5
+ type : prometheus
6
+ access : proxy
7
+ url : http://prometheus:9090
8
+ editable : false
9
+ jsonData :
10
+ httpMethod : POST
11
+ exemplarTraceIdDestinations :
12
+ - name : trace_id
13
+ datasourceUid : tempo
14
+ - name : Tempo
15
+ type : tempo
16
+ access : proxy
17
+ orgId : 1
18
+ url : http://tempo:3200
19
+ basicAuth : false
20
+ isDefault : true
21
+ version : 1
22
+ editable : false
23
+ apiVersion : 1
24
+ uid : tempo
25
+ jsonData :
26
+ httpMethod : GET
27
+ tracesToLogs :
28
+ datasourceUid : ' loki'
29
+ nodeGraph :
30
+ enabled : true
31
+ - name : Loki
32
+ type : loki
33
+ uid : loki
34
+ access : proxy
35
+ orgId : 1
36
+ url : http://loki:3100
37
+ basicAuth : false
38
+ isDefault : false
39
+ version : 1
40
+ editable : false
41
+ apiVersion : 1
42
+ jsonData :
43
+ derivedFields :
44
+ - datasourceUid : tempo
45
+ matcherRegex : \[.+,(.+?),
46
+ name : TraceID
47
+ url : $${__value.raw}
Original file line number Diff line number Diff line change
1
+ server :
2
+ http_listen_port : 3200
3
+
4
+ distributor :
5
+ receivers :
6
+ zipkin :
7
+
8
+ storage :
9
+ trace :
10
+ backend : local
11
+ local :
12
+ path : /tmp/tempo/blocks
Original file line number Diff line number Diff line change
1
+ package com .nipundas .product_service .config ;public class ObservationConfig {
2
+ }
You can’t perform that action at this time.
0 commit comments