Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jan 17, 2024
1 parent 08a6383 commit 954916d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private HistogramGauges(HistogramSupport meter, MeterRegistry registry,
ToDoubleFunction<HistogramSupport> percentileValueFunction = m -> {
snapshotIfNecessary();
polledGaugesLatch.countDown();
return percentileValue.apply(snapshot.percentileValues()[index]);
return percentileValue.apply(valueAtPercentiles[index]);
};

Gauge.builder(percentileName.apply(valueAtPercentiles[i]), meter, percentileValueFunction)
Expand Down

0 comments on commit 954916d

Please sign in to comment.