Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Begin segment with sampling #196

Merged
merged 3 commits into from
Aug 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
switched to using concatenation
  • Loading branch information
William Armiros committed Aug 23, 2020
commit 1535dc157b19964cb7e3f0bd1b2e2eeca2215297
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ private SamplingResponse doSampleCustomerRule(Instant now, SamplingResponse res,
}

if (logger.isDebugEnabled()) {
logger.debug(String.format("Sampling target has expired for rule %s. Using fixed rate of %d percent.",
getName(), (int) (fixedRate * 100)));
logger.debug("Sampling target has expired for rule " + getName() + ". Using fixed rate of " +
(int) (fixedRate * 100) + " percent.");
}

// Fallback to bernoulli sampling
Expand Down