public static <T extends DropwizardMeterRegistry> T configureRegistry(T meterRegistry) {
        requireNonNull(meterRegistry, "meterRegistry");
        meterRegistry.config().meterFilter(new MeterFilter() {
            @Override
            public MeterFilterReply accept(Meter.Id id) {
                if (id.getName().endsWith(".percentile") && id.getTag("phi") != null) {
                    return MeterFilterReply.DENY;
                }
                if (id.getName().endsWith(".histogram") && id.getTag("le") != null) {
                    return MeterFilterReply.DENY;
                }
                return MeterFilterReply.NEUTRAL;
            }
        });

        return meterRegistry;
    }
Configures the {@link DropwizardMeterRegistry} with Armeria's defaults. Useful when using a different
implementation of {@link DropwizardMeterRegistry}, e.g., a {@code JmxMeterRegistry}.

@return the specified {@link DropwizardMeterRegistry}
core/src/main/java/com/linecorp/armeria/common/metric/DropwizardMeterRegistries.java