product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

MGW Analytics response size is set to 0

Open fazlan-nazeem opened this issue 6 years ago • 3 comments

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:

fazlan-nazeem avatar Aug 29 '18 06:08 fazlan-nazeem

We can make this work for requests with content-length header. Otherwise we'll have to build the request.

praminda avatar Apr 26 '19 05:04 praminda

@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)?

praminda avatar Apr 27 '19 05:04 praminda

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

Rajith90 avatar Apr 29 '19 10:04 Rajith90