diff --git a/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java b/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java index 48a0548d28e..59189552854 100644 --- a/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java +++ b/src/test/java/org/opentripplanner/transit/speed_test/model/timer/SpeedTestTimer.java @@ -9,9 +9,7 @@ import io.micrometer.core.instrument.Tag; import io.micrometer.core.instrument.Timer; import io.micrometer.core.instrument.composite.CompositeMeterRegistry; -import io.micrometer.core.instrument.config.MeterFilter; import io.micrometer.core.instrument.config.NamingConvention; -import io.micrometer.core.instrument.distribution.DistributionStatisticConfig; import io.micrometer.core.instrument.simple.SimpleMeterRegistry; import java.util.ArrayList; import java.util.Arrays; @@ -79,22 +77,6 @@ public void setUp(boolean logResultsByTestCaseCategory) { Tag.of("location", location) ) ); - - // record the lowest percentile of times - //noinspection NullableProblems - registry - .config() - .meterFilter( - new MeterFilter() { - @Override - public DistributionStatisticConfig configure( - Meter.Id id, - DistributionStatisticConfig config - ) { - return DistributionStatisticConfig.builder().percentiles(0.01).build().merge(config); - } - } - ); } public MeterRegistry getRegistry() {