-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix boundary sampler so it is true to given rate (#226)
Fixes #225 Solution works accurately on both amd64 and arm64 architectures. Adds test to ensure number of sampling decisions falls within a given range. Avoid float to int conversion which is platform dependent for high values (such as trace IDs) --------- Co-authored-by: Adrian Cole <[email protected]>
- Loading branch information
1 parent
e609ce4
commit 7c09a19
Showing
2 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters