From 69248fecc6f67d481f94da2bed7e689d1f624cd0 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 31 Jul 2019 07:59:29 +0200 Subject: [PATCH] Changed the default sampler rate to 10 --- .../springframework/cloud/sleuth/sampler/SamplerProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java index 2bd84c4d1..066655a64 100644 --- a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java +++ b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java @@ -45,7 +45,7 @@ public class SamplerProperties { * (named Reservoir) for this purpose. Brave has taken the same approach via the * {@link brave.sampler.RateLimitingSampler}. */ - private Integer rate = 1000; + private Integer rate = 10; public Float getProbability() { return this.probability;