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.
40 lines
639 B
YAML
40 lines
639 B
YAML
mysql:
|
|
image: mysql
|
|
ports:
|
|
- 3306:3306
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
- MYSQL_DATABASE=test
|
|
rabbitmq:
|
|
image: rabbitmq:management
|
|
expose:
|
|
- 5672
|
|
ports:
|
|
- 5672:5672
|
|
- 15672:15672
|
|
zipkin:
|
|
build: .
|
|
volumes:
|
|
- ../..:/app
|
|
- ~:/home/spring
|
|
environment:
|
|
- MYSQL_HOST=mysql
|
|
- RABBIT_HOST=rabbitmq
|
|
# - JAVA_OPTS=your jvm params here
|
|
expose:
|
|
- 9411
|
|
ports:
|
|
- 9411:9411
|
|
links:
|
|
- mysql
|
|
- rabbitmq
|
|
web:
|
|
image: openzipkin/zipkin-web:1.30.0
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- TRANSPORT_TYPE=http
|
|
- WEB_LOG_LEVEL=DEBUG
|
|
links:
|
|
- zipkin:query
|