-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update dynamic samplers to use GetSampleRateMulti (#717)
## Which problem is this PR solving? - As it says in #636, throughput and dynamic sampler calculations have been based on the wrong numbers for some time. They've been counting traces, not spans, and yet everything about Honeycomb is based on span count. Most people think it works by counting spans and are then surprised when sample rates seem incorrect for their volume, and in fact, our documentation says that it works this way. ## Short description of the changes - This changes Refinery's dynamic and throughput sampler requests to use the span count, not the trace count, when calculating numbers for the dynamic samplers and throughput samplers. This will need to be reflected in updated documentation. Closes #636.
- Loading branch information
Showing
5 changed files
with
21 additions
and
5 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
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
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