-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't change Histogram values during Snapshot (#142)
* Calling Snapshot changes recorded Histograms Update test to call `scope.Snapshot()` repeatedly. Call `(*counter).snapshot` instead of `(*counter).value` when compiling a snapshot of histograms, so as not to alter the value of the histogram during the operation.
- Loading branch information
1 parent
dbf6b10
commit 164eb6a
Showing
2 changed files
with
46 additions
and
40 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