Recent versions of zipkin and brave operate with http instead of scribe. This changes the implementation accordingly, as well adds a sampler to the POST endpoint. A notable impact is that we no longer require a collector process, as the zipkin server's POST endpoint is a collector.
28 lines
516 B
YAML
28 lines
516 B
YAML
mysql:
|
|
image: openzipkin/zipkin-mysql:1.30.0
|
|
ports:
|
|
- 3306:3306
|
|
query:
|
|
image: openzipkin/zipkin-query:1.30.0
|
|
environment:
|
|
# Remove TRANSPORT_TYPE to disable tracing
|
|
- TRANSPORT_TYPE=http
|
|
- STORAGE_TYPE=mysql
|
|
expose:
|
|
- 9411
|
|
ports:
|
|
- 9411:9411
|
|
- 9901:9901
|
|
links:
|
|
- mysql:storage
|
|
web:
|
|
image: openzipkin/zipkin-web:1.30.0
|
|
environment:
|
|
# Remove TRANSPORT_TYPE to disable tracing
|
|
- TRANSPORT_TYPE=http
|
|
ports:
|
|
- 8080:8080
|
|
- 9990:9990
|
|
links:
|
|
- query
|