April 2018
Intermediate to advanced
432 pages
10h 38m
English
If you would like to use both Spring Cloud Sleuth and Zipkin in your project, just add starter spring-cloud-starter-zipkin to the dependencies. It enables integration with Zipkin via the HTTP API. If you have started the Zipkin server as an embedded instance inside the Spring Boot application, you don't have to provide any additional configuration containing connection address. If you use the Docker container, you should override the default URL in application.yml:
spring: zipkin: baseUrl: http://192.168.99.100:9411/
You can always take advantage of integration with service discovery. If you have the discovery client enabled through @EnableDiscoveryClient for your application with the embedded Zipkin server, ...