googleapis / sdk-platform-java

Tooling and shared libraries for Cloud SDK for Java
https://cloud.google.com/java/docs/bom
Apache License 2.0
65 stars 53 forks source link

gRPC's Paged Callables are not being Traced #2627

Open lqiu96 opened 6 months ago

lqiu96 commented 6 months ago

From gRPC's CallableFactory: https://github.com/googleapis/sdk-platform-java/blob/ba648ceac869d4fab1a9cbeb40f2e04f69dad4e3/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcCallableFactory.java#L129-L139

Paged Callables do not have a TracedPagedCallable equivalent which implements tracing. It is possible that we can reused the TracedUnaryCallable, but that requires some investigation.

blakeli0 commented 6 months ago

We should add a TracedPagedCallable similar to TracedUnaryCallable, and test with Showcase