product-microgateway
product-microgateway copied to clipboard
[Analytics] Implement a unified approach to publish both success and failed requests
Describe your problem(s)
Due to the following issue [1], We had to implement two separate ways to publish analytics events depending on whether the request failed at enforcer (Auth failure, Throttle failure likewise).
Since the issue is fixed in envoy, we could take a unified approach where all the analytics entries are published using http acccess logs received at the grpc receiver of the enforcer component.
[1] https://github.com/envoyproxy/envoy/issues/17684