Skip to content

Commit

Permalink
remove emptylist
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket-mundra committed Aug 28, 2024
1 parent 2fa3722 commit 0d8e36c
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.hypertrace.config.service.metric;

import java.util.Collections;
import java.util.List;
import org.hypertrace.core.documentstore.Datastore;
import org.hypertrace.core.serviceframework.docstore.metrics.DocStoreCustomMetricReportingConfig;
import org.hypertrace.core.serviceframework.docstore.metrics.DocStoreMetricsRegistry;
import org.hypertrace.core.serviceframework.spi.PlatformServiceLifecycle;

Expand All @@ -15,14 +13,10 @@ public ConfigMetricsReporter(
metricsRegistry =
new DocStoreMetricsRegistry(datastore)
.withPlatformLifecycle(lifecycle)
.withCustomMetrics(configurationCounterConfig);
.withCustomMetrics(Collections.emptyList());
}

public void monitor() {
metricsRegistry.monitor();
}

@SuppressWarnings("FieldCanBeLocal")
private final List<DocStoreCustomMetricReportingConfig> configurationCounterConfig =
Collections.emptyList();
}

0 comments on commit 0d8e36c

Please sign in to comment.