diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java index e6a3658bc8..0ffabe2606 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java @@ -171,8 +171,7 @@ private void recordAttemptCompletion(@Nullable Throwable throwable) { attemptTimer.elapsed(TimeUnit.MILLISECONDS)); if (reportBatchingLatency) { - measures - .put(RpcMeasureConstants.BIGTABLE_BATCH_THROTTLED_TIME, batchThrottledLatency); + measures.put(RpcMeasureConstants.BIGTABLE_BATCH_THROTTLED_TIME, batchThrottledLatency); // Reset batch throttling latency for next attempt. This can't be done in attemptStarted // because batching flow control will add batching latency before the attempt has started.