Signed-off-by: Feng Su <sufeng@linux.alibaba.com> Signed-off-by: Huaixin Chang <changhuaixin@linux.alibaba.com> Signed-off-by: Peng Wang <rocking@linux.alibaba.com>
22 lines
489 B
YAML
22 lines
489 B
YAML
services:
|
|
otel-collector:
|
|
image: docker.io/otel/opentelemetry-collector
|
|
volumes:
|
|
- ./opentelemetry.yaml:/etc/otelcol/config.yaml
|
|
- /tmp:/tmp
|
|
ports:
|
|
- "4317:4317" # OTLP gRPC
|
|
- "4318:4318" # OTLP HTTP
|
|
depends_on:
|
|
- jaeger
|
|
restart: unless-stopped
|
|
|
|
jaeger:
|
|
image: jaegertracing/all-in-one
|
|
container_name: jaeger
|
|
ports:
|
|
- "16686:16686"
|
|
environment:
|
|
- COLLECTOR_OTLP_ENABLED=true
|
|
restart: unless-stopped
|