public MetricsBuilder collectorSyncPeriod(Integer collectorSyncPeriod) {
        this.collectorSyncPeriod = collectorSyncPeriod;
        return getThis();
    }
@Test
    void collectorSyncPeriod() {
        MetricsBuilder builder = MetricsBuilder.newBuilder();
        builder.collectorSyncPeriod(10);
        Assertions.assertEquals(10, builder.build().getCollectorSyncPeriod());
    }