Skip to content

Commit

Permalink
Polish #3799
Browse files Browse the repository at this point in the history
  • Loading branch information
shakuzen committed Jun 12, 2023
1 parent 03a227a commit 5bd34e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ protected void recordNonNegative(double amount) {
public long count() {
if (stepBucketHistogram != null) {
// Force the stepBucketHistogram to be aligned to step by calling count. This
// ensures that all
// values exported by the Timer are measured for the same step.
// ensures that all values exported by the DistributionSummary are measured
// for the same step. See StepMeterRegistry#pollMetersToRollover.
stepBucketHistogram.poll();
}
return super.count();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ protected void recordNonNegative(long amount, TimeUnit unit) {
public long count() {
if (stepBucketHistogram != null) {
// Force the stepBucketHistogram to be aligned to step by calling count. This
// ensures that all
// values exported by the Timer are measured for the same step.
// ensures that all values exported by the Timer are measured for the same
// step. See StepMeterRegistry#pollMetersToRollover.
stepBucketHistogram.poll();
}
return super.count();
Expand Down

0 comments on commit 5bd34e5

Please sign in to comment.