-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.39 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
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
jaeger-query:
image: jaegertracing/jaeger-query:1.49
stop_grace_period: 10s
ports:
- "16686:16686" # web UI
depends_on:
- jaeger-influxdb
environment:
LOG_LEVEL: info
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: jaeger-influxdb:17271
GRPC_STORAGE_CONNECTION_TIMEOUT: 30s
QUERY_HTTP_SERVER_HOST_PORT: :16686
ADMIN_HTTP_HOST_PORT: :16687
QUERY_UI_CONFIG: /jaeger-ui-config.json
volumes:
- ./demo/jaeger-ui-config.json:/jaeger-ui-config.json:ro
jaeger-influxdb:
image: jacobmarble/jaeger-influxdb:0.5.9
stop_grace_period: 10s
environment:
LOG_LEVEL: info
LISTEN_ADDR: :17271
INFLUXDB_TIMEOUT: 30s
# required: hostname or hostname:port
INFLUXDB_ADDR:
# required: bucket name
INFLUXDB_BUCKET: otel
# optional: bucket name for archived traces
INFLUXDB_BUCKET_ARCHIVE:
# required
INFLUXDB_TOKEN:
hotrod:
image: jaegertracing/example-hotrod:1.41
stop_grace_period: 1s
ports:
- "8080:8080" # web UI
depends_on:
- otelcol-influxdb
environment:
JAEGER_AGENT_HOST: otelcol-influxdb
JAEGER_AGENT_PORT: 6831
otelcol-influxdb:
image: otel/opentelemetry-collector-contrib:0.101.0
command: [ "--config", "/config.yml" ]
stop_grace_period: 10s
volumes:
- ./demo/otelcol-config.yml:/config.yml:ro