product-microgateway
product-microgateway copied to clipboard
MGW Analytics response size is set to 0
Description:
At the moment in the event published to analytics server, the response size is set to 0. we need to find a way to calculate the size of the response and populate it.
Please note that we don't do any analytics based on the response size. Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
We can make this work for requests with content-length header. Otherwise we'll have to build the request.
@Rajith90 So do we have a plan on implementing the other part, where we build the message to get the message size (if response is chunked)?
We will only look at the content length header for the 3.0.0 release. We will be not addressing the issue of response size for chunked messages in this release(3.0.0). But we need a way to get the response size by building the message, and make it configurable because building the message in pass through scenarios can be expensive