what are the best practices in tracing of spring boot 2 microservice applications? I found some 2 years old tutorials where tracing server was as another spring boot application with following dependencies:
<dependency>
<groupId>io.zipkin.java</groupId>
<artifactId>zipkin-server</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.java</groupId>
<artifactId>zipkin-autoconfigure-ui</artifactId>
<scope>runtime</scope>
</dependency>
and push traces with following configuration:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
</dependency>
and
spring.zipkin.base-url=http://localhost:9411/
spring.sleuth.sampler.probability=1
Is this solution still actual and suitable for production or should we configure standalone docker image of zipkin instead of spring boot app and connect it to ELK stack with logs? What do you recommended? It will be great if you can provide some example what is recommended approach to handle it in. Thank you in advice.