Skip to content

Commit 28ca7c3

Browse files
authoredOct 26, 2022
fix: rename metric names to match the external name (#1479)
1 parent 515e7fb commit 28ca7c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class BuiltinMetricsIT {
5151
"retry_count",
5252
"attempt_latencies",
5353
"connectivity_error_count",
54-
"application_latencies"
54+
"application_blocking_latencies"
5555
};
5656

5757
@BeforeClass
@@ -125,9 +125,9 @@ public void testBuiltinMetrics() throws Exception {
125125
// Verify that metrics are published for ReadRows request
126126
metricFilter =
127127
String.format(
128-
"metric.type=\"bigtable.googleapis.com/client/operation_latencies\" "
128+
"metric.type=\"bigtable.googleapis.com/client/%s\" "
129129
+ "AND resource.labels.instance=\"%s\" AND metric.labels.method=\"Bigtable.ReadRows\"",
130-
testEnvRule.env().getInstanceId());
130+
view, testEnvRule.env().getInstanceId());
131131
requestBuilder.setFilter(metricFilter);
132132
response = metricClient.listTimeSeriesCallable().call(requestBuilder.build());
133133
assertThat(response.getTimeSeriesCount()).isGreaterThan(0);

0 commit comments

Comments
 (0)