From a26721cbedd56780a8f9e2d311e0e39d58c7e00e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 11 Sep 2023 19:06:44 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.