-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
telemetry: fix the integer quantization
The code was previously quantizing 100 to 10, and only 101 and higher to 100. This patch fixes it. Additionally, this code ensures that negative values also get quantized. This change does not impact any caller for now (there is no caller that expects negative value) but will be used in an upcoming setting telemetry change. Release justification: low risk, high benefit changes to existing functionality Release note: None
- Loading branch information
Showing
2 changed files
with
63 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