From ba35b9859a342bf9d6ceb12e169333f3b68f8b05 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Tue, 18 Jul 2017 09:10:59 +0200 Subject: use "probability" instead of "chance" terms for the random sampler --- kamon-core/src/main/resources/reference.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kamon-core/src/main/resources') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 6ad06325..06da8e18 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -88,17 +88,17 @@ kamon { # Configures a sample that decides which traces should be reported to the trace backends. The possible values are: # - always: report all traces. # - never: don't report any trace. - # - random: use the random tracer. + # - random: randomly decide using the probability defined in the random-sampler.probability setting. # sampler = "random" # The random sampler uses the "chance" setting and a random number to take a decision, if the random number is # on the upper (chance * 100) percent of the number spectrum the trace will be sampled. E.g. a chance of 0.01 will # hint that 1% of all traces should be reported. - sampler-random { + random-sampler { - # Chance of a span being sampled. Must be a value between 0 and 1. - chance = 0.01 + # Probability of a span being sampled. Must be a value between 0 and 1. + probability = 0.01 } } -- cgit v1.2.3