提交spring-cloud-sleuth-zipkin的用例说明

This commit is contained in:
罗祥
2019-01-19 12:53:26 +08:00
parent 31a7beddd3
commit 6550dacb58
3 changed files with 96 additions and 8 deletions

View File

@ -6,6 +6,10 @@ spring:
name: zuul
zipkin:
base-url: http://localhost:9411/
# 可以指定监控数据的采样率
sleuth:
sampler:
probability: 1
# 指定注册中心地址
eureka:
client:
@ -22,4 +26,3 @@ zuul:
serviceId: consumer
# 指定前缀
# prefix: /v1