Our Nginx configuration currently logs $body_bytes_sent, but does not record the $bytes_sent nor $bytes_received values linked to on this page. Enhancing our logs with this additional information would be easy and innocuous, and valuable in scenarios wherein OpenLMIS isn't being used alongside a load balancer which can serve as an alternate source for this information.
Use of OpenLMIS within bandwidth-constrained environments makes it important to be able to easily monitor traffic load, and OpenLMIS-Angola's stakeholders asked for basic information regarding theirs. For various reasons, their short term AWS-based setup isn't configured to use a load balancer, and their future on-premise instance potentially won't either. In both scenarios, having Nginx log the traffic related information identified by this ticket would therefore be helpful. We can't always rely on third-party tooling to collect this information and it would therefore be ideal for OpenLMIS to log it.