Skip to content

Commit

Permalink
Remove percentiles from speed test data
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 4, 2023
1 parent 13a7bcf commit b303dc3
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit b303dc3

Please sign in to comment.