28 lines
838 B
YAML
28 lines
838 B
YAML
version: "2"
|
|
services:
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector-contrib:0.61.0
|
|
volumes:
|
|
- ./otel-config.yaml:/etc/otel/config.yaml
|
|
- ./log:/log/otel
|
|
command: --config /etc/otel/config.yaml
|
|
environment:
|
|
- JAEGER_ENDPOINT=jaeger:4317
|
|
ports:
|
|
- "4317:4317" # OTLP gRPC receiver
|
|
- "4318:4318" # OTLP HTTP/protobuf receiver
|
|
- "8888:8888" # Prometheus metrics scrape endpoint with collector telemetry
|
|
- "8889:8889" # Prometheus metrics exporter (scrape endpoint)
|
|
- "9411:9411" # Zipkin receiver
|
|
- "13133:13133" # health_check extension
|
|
- "55679:55679" # ZPages extension
|
|
depends_on:
|
|
- jaeger
|
|
|
|
jaeger:
|
|
image: jaegertracing/all-in-one:1.38.1
|
|
environment:
|
|
- COLLECTOR_OTLP_ENABLED=true
|
|
ports:
|
|
- "16686:16686"
|