Otel's Method Name is different between gRPC and HttpJson #2502
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Discovered in the Otel Draft PR: #2500
The Method Name is different between the two transports:
gRPC:
Echo.Echo
HttpJson:
google.showcase.v1beta1.Echo/Echo
.I believe this is because of the different Regex Matchers used to extract the MethodName:
gRPC:
sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcCallableFactory.java
Line 69 in 7902a41
HttpJson:
sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallableFactory.java
Line 58 in 7902a41
We should be consistent and pick one way to display the method name.
The text was updated successfully, but these errors were encountered: