forked from nginxinc/bank-of-sirius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-otel-config.yaml
54 lines (46 loc) · 1003 Bytes
/
docker-compose-otel-config.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
51
52
53
54
extensions:
health_check:
pprof:
endpoint: 0.0.0.0:1777
zpages:
endpoint: 0.0.0.0:55679
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:9978
http:
endpoint: 0.0.0.0:9979
# Collect metrics
prometheus:
config:
scrape_configs:
- job_name: "otel-collector"
scrape_interval: 120s
static_configs:
- targets:
- "balance-reader:8080"
- "transaction-history:8080"
- "ledger-writer:8080"
metrics_path: "/z/prometheus"
processors:
batch:
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
logging:
logLevel: debug
jaeger:
endpoint: "jaeger:14250"
insecure: true
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging, jaeger]
metrics:
receivers: [otlp, prometheus]
processors: [batch]
exporters: [logging]
extensions: [health_check, pprof, zpages]