googleapis / java-bigtable

Apache License 2.0
70 stars 86 forks source link

BigtableGrpcStreamTracer incorrectly measures Application blocking latencies #2322

Open igorbernstein2 opened 3 weeks ago

igorbernstein2 commented 3 weeks ago

Currently it measures the time between streamCreated and outboundMessageSent. The intent is to measure how long grpc has the rpc in a queue. Unfortunately streamCreated happens after the queuing. Instead the measurement should be taken from the start of the method invocation (ie newCall)