public MetricsBuilder enableRegistry(Boolean enableRegistry) {
        this.enableRegistry = enableRegistry;
        return getThis();
    }
@Test
    void enableRegistry() {
        MetricsBuilder builder = MetricsBuilder.newBuilder();
        builder.enableRegistry(true);
        Assertions.assertTrue(builder.build().getEnableRegistry());
    }