Skip to content

Commit 24103ff

Browse files
committed
Fix confirm latency metrics summary
References #129
1 parent ed1d30d commit 24103ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/stream/perf/DefaultPerformanceMetrics.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public void start(String description) throws Exception {
299299
(name, histogram) ->
300300
String.format(
301301
name + " 95th %.0f ms",
302-
convertDuration.apply(latency.getSnapshot().get95thPercentile()));
302+
convertDuration.apply(histogram.getSnapshot().get95thPercentile()));
303303

304304
StringBuilder builder = new StringBuilder("Summary: ");
305305
meters.entrySet().forEach(entry -> builder.append(formatMeterSummary.apply(entry)));

0 commit comments

Comments
 (0)