Skip to content

Commit

Permalink
fix: rename metric names to match the external name (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Oct 26, 2022
1 parent 515e7fb commit 28ca7c3
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -51,7 +51,7 @@ public class BuiltinMetricsIT {
"retry_count",
"attempt_latencies",
"connectivity_error_count",
"application_latencies"
"application_blocking_latencies"
};

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

0 comments on commit 28ca7c3

Please sign in to comment.