Measure grpc response size #443
-
Hi Team, I am using ghz to measure the size of the payload returned from a unary GRPC service. I cannot find documentation/examples on how to do this. I have tried using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply @bojand |
Beta Was this translation helpful? Give feedback.
Hello,
WithStreamRecvMsgIntercept()
works only with streaming requests, and not unary calls. There is no currently a way to add an interceptor to unary request. I agree it would be useful; in addition to tracking request size (see #4). I'll try and add this at some point in the near future.