Thanks for linking, but nginx-module-vts seems over-kill and I'm concerned about performance. Essentially we are building a product that charges by egress bandwidth and looking for a way to track it at the NGINX level. I was digging a bit further and it seems like using https://www.nginx.com/blog/launching-nginscript-and-looking-ahead/ might be a good solution. Anybody tried this? Anybody have a starting point configuration?