Spring Boot:2.0.6.RELEASE
Spring Cloud:Finchley.SR2
将spring.sleuth.sampler.probability设置为1.0,不起作用
pom
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
</dependency>
application.yml
spring:
zipkin:
base-url: http://*.*.*.*:9411
sender:
type: web
sleuth:
sampler:
probability: 1.0
logging:
level:
org.springframework.cloud.openfeign: debug