From c9319e6604250756250893f5b77d3014c0a19ec2 Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Wed, 9 Nov 2022 10:56:26 -0500 Subject: [PATCH 1/3] fix: fix metric client settings --- .../bigtable/stats/BigtableStackdriverStatsExporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java b/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java index 8896e52d89..a646898c43 100644 --- a/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java +++ b/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java @@ -85,9 +85,9 @@ static MetricServiceClient createMetricServiceClient(Credentials credentials, Du .setTransportChannelProvider(InstantiatingGrpcChannelProvider.newBuilder().build()); settingsBuilder.setCredentialsProvider(FixedCredentialsProvider.create(credentials)); - org.threeten.bp.Duration stackdriverDuration = + org.threeten.bp.Duration timeout = org.threeten.bp.Duration.ofMillis(deadline.toMillis()); - settingsBuilder.createTimeSeriesSettings().setSimpleTimeoutNoRetries(stackdriverDuration); + settingsBuilder.createServiceTimeSeriesSettings().setSimpleTimeoutNoRetries(timeout); return MetricServiceClient.create(settingsBuilder.build()); } } From a81501a2096e1b1a725634d19b3f7af6872ef5cd Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Wed, 9 Nov 2022 11:39:46 -0500 Subject: [PATCH 2/3] fix format --- .../cloud/bigtable/stats/BigtableStackdriverStatsExporter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java b/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java index a646898c43..f6c80fdf88 100644 --- a/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java +++ b/google-cloud-bigtable-stats/src/main/java/com/google/cloud/bigtable/stats/BigtableStackdriverStatsExporter.java @@ -85,8 +85,7 @@ static MetricServiceClient createMetricServiceClient(Credentials credentials, Du .setTransportChannelProvider(InstantiatingGrpcChannelProvider.newBuilder().build()); settingsBuilder.setCredentialsProvider(FixedCredentialsProvider.create(credentials)); - org.threeten.bp.Duration timeout = - org.threeten.bp.Duration.ofMillis(deadline.toMillis()); + org.threeten.bp.Duration timeout = org.threeten.bp.Duration.ofMillis(deadline.toMillis()); settingsBuilder.createServiceTimeSeriesSettings().setSimpleTimeoutNoRetries(timeout); return MetricServiceClient.create(settingsBuilder.build()); } From ae8661f4cf86d458b6377a0b515653c8cae030f4 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 9 Nov 2022 17:46:53 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3bdaf2e336..76902f4994 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigtable' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigtable:2.15.0' +implementation 'com.google.cloud:google-cloud-bigtable:2.15.1' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.15.1" ``` ## Authentication