I have an inquiry about feature support / potential implementation of a feature.
I have an openresty service configured as a reverse proxy for some servers.
I wish to accurately record the bandwidth that is being used. There are 4 types
of bandwidth that I am interested in. Bandwidth from the browser to the proxy,
from the proxy to the browser, from the site server to the proxy, and from the proxy
to the site server.
NGINX provides a variable to find the data between the proxy and browser. This can be
found with "$bytes_sent". There are 3 more variables that NGINX defines that do not
appear to be included with openresty. These variables are "$upstream_bytes_received",
and "$bytes_received". Both of these are marked as part of the "1.11.4" release of NGINX.
Is there a planned date when these features will be available? Do they currently exist
in development? If so should I build master and run that for the features I want?
If anyone has comments on alternative ways for me to get the statistics I want without
some external byte count monitor program I am all ears! I quickly also have a side
question. Do you know if these variables count compressed or uncompressed bytes?
I get the impression that they count bytes that actually go over the wire and not the
uncompressed version but I am not sure.
Thanks!