From 54db41460a6f28f798b429ad2e1d999018d1be84 Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Fri, 19 Aug 2022 13:25:51 -0400 Subject: [PATCH] update --- .../google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java index b4a21e3084..39ab3ffb23 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java @@ -68,12 +68,8 @@ public static void setUpClass() throws IOException { // Enable built in metrics BigtableDataSettings.enableBuiltinMetrics(); - MetricServiceSettings settings = - MetricServiceSettings.newBuilder() - .setEndpoint("staging-monitoring.sandbox.googleapis.com:443") - .build(); // Create a cloud monitoring client - metricClient = MetricServiceClient.create(settings); + metricClient = MetricServiceClient.create(g); } @AfterClass