@EnableZipkinStreamServer and bind to a Spring Cloud Stream message broker. That's it. The default span store is in memory, but Zipkin also supports MySQL (and Cassandra coming soon).
15 lines
252 B
YAML
15 lines
252 B
YAML
mysql:
|
|
image: mysql
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
- MYSQL_DATABASE=test
|
|
volumes:
|
|
- "./conf.d:/etc/mysql/conf.d:ro"
|
|
rabbitmq:
|
|
image: rabbitmq:management
|
|
ports:
|
|
- 5672:5672
|
|
- 15672:15672
|