Is Analytics Impacted when streaming is enabled?

We need to enable streaming for one of our API's and will likely implement it only for the response. How does that impact analytics? Are the standard dimensions still enabled and captured? Also, can we still create Statistics Collectors for the request and it will be captured?

0 4 269
4 REPLIES 4

Inside the Apigee EDGE product there is a network/http layer which does all the http/s transport of all the request responses. And then on top of that sits a layer which is responsible for all the policies etc.

When you enable streaming then at the policy layer only the first chunk of data comes up. Rest of the message just passes through the HTTP layer. So you will get all the headers etc. to do authentication/quota etc. but you won't be able to manipulate the payload in any way.

I think majority of the analytics will work fine , but if you want to get payload related analytics (like payload size, etc,) that might now.

Thats atleast how my understanding of the whole matter is.

Can I ask a question: What does streaming mean here?

Not applicable

Hi @Robert Johnson,

Specifically for StatisticsCollector policy aspect, There is flexibility to enable streaming either for request or response or both by having different streaming properties. Once streaming is enabled e.g. for request then request payload is not available. In this case, if statisticsCollector policy suppose to capture data from request payload then it won't be possible.

Cheers, Rajesh