Skip to content

Commit

Permalink
增加 spring cloud sleuth 链路追踪
Browse files Browse the repository at this point in the history
  • Loading branch information
YunaiV committed Mar 21, 2020
1 parent b2397fc commit a6ecdf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spring:
enabled: true # 是否开启,默认为 true
# Spring Cloud Sleuth 针对抽样收集的配置项
sampler:
probability: 0.1 # 采样百分比,默认为 1.0 全部采样
rate: # 限流采样,即每秒可收集链路的数量,默认为 10。
probability: 0.1 # 采样百分比,默认为空
# rate: 1 # 限流采样,即每秒可收集链路的数量,默认为 10。

0 comments on commit a6ecdf1

Please sign in to comment.