Skip to content

Commit 5bd34e5

Browse files
committed
Polish #3799
1 parent 03a227a commit 5bd34e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: implementations/micrometer-registry-signalfx/src/main/java/io/micrometer/signalfx/SignalfxDistributionSummary.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ protected void recordNonNegative(double amount) {
6767
public long count() {
6868
if (stepBucketHistogram != null) {
6969
// Force the stepBucketHistogram to be aligned to step by calling count. This
70-
// ensures that all
71-
// values exported by the Timer are measured for the same step.
70+
// ensures that all values exported by the DistributionSummary are measured
71+
// for the same step. See StepMeterRegistry#pollMetersToRollover.
7272
stepBucketHistogram.poll();
7373
}
7474
return super.count();

Diff for: implementations/micrometer-registry-signalfx/src/main/java/io/micrometer/signalfx/SignalfxTimer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ protected void recordNonNegative(long amount, TimeUnit unit) {
7070
public long count() {
7171
if (stepBucketHistogram != null) {
7272
// Force the stepBucketHistogram to be aligned to step by calling count. This
73-
// ensures that all
74-
// values exported by the Timer are measured for the same step.
73+
// ensures that all values exported by the Timer are measured for the same
74+
// step. See StepMeterRegistry#pollMetersToRollover.
7575
stepBucketHistogram.poll();
7676
}
7777
return super.count();

0 commit comments

Comments
 (0)