Skip to content

Commit 18c0a49

Browse files
committed
test(observability): expect rpc.method for HTTP json transport
1 parent 6c5362d commit 18c0a49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk-platform-java/java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITOtelGoldenMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ void testMetrics_successfulEcho_httpjson() throws Exception {
254254
.isEqualTo("v1beta1/echo:echo");
255255
assertThat(
256256
attributes.get(AttributeKey.stringKey(ObservabilityAttributes.GRPC_RPC_METHOD_ATTRIBUTE)))
257-
.isNull();
257+
.isEqualTo("google.showcase.v1beta1.Echo/Echo");
258258
}
259259
}
260260

0 commit comments

Comments
 (0)