Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
switched to adjustable sampling rate
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva kandasamy <[email protected]>
  • Loading branch information
jkandasa committed Jul 26, 2018
1 parent c1963cd commit 46f6dea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private static Tracer createJaegerTracer() {
compositeReporter = new CompositeReporter(remoteReporter);
}

Sampler sampler = new ProbabilisticSampler(1.0);
Sampler sampler = new ProbabilisticSampler(JAEGER_SAMPLING_RATE);
tracer = new JaegerTracer.Builder(TEST_SERVICE_NAME)
.withReporter(compositeReporter)
.withSampler(sampler)
Expand Down

0 comments on commit 46f6dea

Please sign in to comment.