-
Notifications
You must be signed in to change notification settings - Fork 128
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 1.01 KB
/
docker-compose.yml
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
name: opentelemetry
services:
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- '16686:16686' # Web UI
- '14268:14268' # HTTP Port for spans
- '6831:6831/udp' # UDP port for Jaeger agent
zipkin:
image: openzipkin/zipkin:latest
environment:
- JAVA_OPTS=-Xms1024m -Xmx1024m -XX:+ExitOnOutOfMemoryError
restart: always
ports:
- '9411:9411'
otel-collector:
image: otel/opentelemetry-collector:latest
command: ['--config=/etc/otel-collector-config.yaml']
volumes:
- ./etc/otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- '13133:13133' # health_check extension
- '4317:4317' # OTLP gRPC receiver
- '4318:4318' # OTLP HTTP receiver
- '55679:55679' # zpages extension
depends_on:
- jaeger
- zipkin
prometheus:
image: prom/prometheus:latest
volumes:
- ./etc/prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- '9090:9090'
depends_on:
- otel-collector