-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
40 lines (36 loc) · 1.07 KB
/
docker-compose.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
services:
# Jaeger
jaeger-all-in-one:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268"
- "14250"
# Zipkin
zipkin-all-in-one:
image: openzipkin/zipkin:latest
ports:
- "19411:9411"
prometheus:
container_name: prometheus
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
otel-collector:
image: otel/opentelemetry-collector:0.55.0
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1888:1888" # pprof 扩展端口
- "8888:8888" # otel 暴露的 Prometheus 端口
- "8889:8889" # Prometheus exporter 端口
- "13133:13133" # 健康检查扩展
- "4317:4317" # OTLP gRPC 接收器端口
- "4318:4318" # OTLP http 接收器端口
- "55679:55679" # zpages 扩展端口
depends_on:
- jaeger-all-in-one
- zipkin-all-in-one