mirror of
https://github.com/valitydev/url-shortener.git
synced 2024-11-06 01:55:19 +00:00
12f5e53da8
* Instruments swagger operation handler * Bumps deps; updates proto refs * Tweaks woody timeout testcase * Bumps OTP version * Bumps bouncer & token keeper clients
28 lines
701 B
YAML
28 lines
701 B
YAML
services:
|
|
testrunner:
|
|
depends_on:
|
|
jaeger:
|
|
condition: service_healthy
|
|
environment:
|
|
- OTEL_SERVICE_NAME=shortener
|
|
- OTEL_TRACES_EXPORTER=otlp
|
|
- OTEL_TRACES_SAMPLER=parentbased_always_on
|
|
- OTEL_EXPORTER_OTLP_PROTOCOL=http_protobuf
|
|
- OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4318
|
|
|
|
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
|