将spring.sleuth.sampler.probability设置为1.0,不起作用

时间:2019-03-27 09:45:42

标签: spring-cloud spring-cloud-sleuth

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

0 个答案:

没有答案