diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-07-18 09:10:59 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-07-18 09:10:59 +0200 |
commit | ba35b9859a342bf9d6ceb12e169333f3b68f8b05 (patch) | |
tree | 33cc325248798eb843f896e6285b3cf2c666ffe8 /kamon-core/src/main/resources | |
parent | cce0b5d9320c78fc66197104b68d1d9dddebf007 (diff) | |
download | Kamon-ba35b9859a342bf9d6ceb12e169333f3b68f8b05.tar.gz Kamon-ba35b9859a342bf9d6ceb12e169333f3b68f8b05.tar.bz2 Kamon-ba35b9859a342bf9d6ceb12e169333f3b68f8b05.zip |
use "probability" instead of "chance" terms for the random sampler
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 8 |
1 files changed, 4 insertions, 4 deletions
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 } } |