Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ class BigtableServiceFactory implements Serializable {
private static final ConcurrentHashMap<UUID, AtomicInteger> refCounts = new ConcurrentHashMap<>();
private static final Object lock = new Object();

private static final String BIGTABLE_ENABLE_CLIENT_SIDE_METRICS =
"bigtable_enable_client_side_metrics";

private static final String BIGTABLE_ENABLE_SKIP_LARGE_ROWS = "bigtable_enable_skip_large_rows";

@AutoValue
Expand Down Expand Up @@ -130,11 +127,6 @@ BigtableServiceEntry getServiceForReading(
BigtableConfigTranslator.translateReadToVeneerSettings(
config, opts, optsFromBigtableOptions, pipelineOptions);

if (ExperimentalOptions.hasExperiment(pipelineOptions, BIGTABLE_ENABLE_CLIENT_SIDE_METRICS)) {
LOG.info("Enabling client side metrics");
BigtableDataSettings.enableBuiltinMetrics();
}

boolean skipLargeRows =
ExperimentalOptions.hasExperiment(pipelineOptions, BIGTABLE_ENABLE_SKIP_LARGE_ROWS);

Expand Down Expand Up @@ -181,11 +173,6 @@ BigtableServiceEntry getServiceForWriting(
BigtableConfigTranslator.translateWriteToVeneerSettings(
config, opts, optsFromBigtableOptions, pipelineOptions);

if (ExperimentalOptions.hasExperiment(pipelineOptions, BIGTABLE_ENABLE_CLIENT_SIDE_METRICS)) {
LOG.info("Enabling client side metrics");
BigtableDataSettings.enableBuiltinMetrics();
}

BigtableService service = new BigtableServiceImpl(settings);
entry = BigtableServiceEntry.create(configId, service);
entries.put(configId.id(), entry);
Expand Down
Loading