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