party-management/compose.tracing.yaml

37 lines
879 B
YAML
Raw Permalink Normal View History

2023-10-24 13:14:18 +00:00
services:
dominant:
environment: &otlp_enabled
OTEL_TRACES_EXPORTER: otlp
OTEL_TRACES_SAMPLER: parentbased_always_off
OTEL_EXPORTER_OTLP_PROTOCOL: http_protobuf
OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
machinegun:
environment: *otlp_enabled
2023-10-24 13:14:18 +00:00
testrunner:
environment:
<<: *otlp_enabled
OTEL_SERVICE_NAME: party-management_testrunner
OTEL_TRACES_SAMPLER: parentbased_always_on
2023-10-24 13:14:18 +00:00
depends_on:
jaeger:
condition: service_healthy
jaeger:
image: jaegertracing/all-in-one:1.47
environment:
- COLLECTOR_OTLP_ENABLED=true
healthcheck:
test: "/go/bin/all-in-one-linux status"
interval: 2s
timeout: 1s
retries: 20
ports:
- 4317:4317 # OTLP gRPC receiver
- 4318:4318 # OTLP http receiver
- 5778:5778
- 14250:14250
- 16686:16686