grpcurl icon indicating copy to clipboard operation
grpcurl copied to clipboard

Support displaying raw response size before decompression

Open gamer2810 opened this issue 3 years ago • 0 comments
trafficstars

Use-case: Checking if server's compression is working.

Currently with the very verbose (-vv) output, I can see the estimated data size of the response: image

However, that is the message size after decompression. The logs on the server said only 2340 bytes has been sent: identity

When I turned off compression on the server, the message size is indeed around ~17KB: identity-real

To check compression, I currently need to turn on debug logging on the server which creates lots of logs and is impossible to do on production servers. Could you guys help adding output for raw response message size and the grpc-encoding header?

gamer2810 avatar Oct 29 '22 16:10 gamer2810