Bytes sent to upstream
mdounin at mdounin.ru
Wed Mar 28 13:05:20 UTC 2018
On Tue, Mar 27, 2018 at 08:28:42PM -0700, Pablo Fischer wrote:
> Seems like the upstream_bytes_sent variable only exists for the
> stream module and not for the http_upstream. Is there a way (via a
> variable would be better) to know the bytes that nginx has sent to
There is no such variable in nginx for http upstream connections.
Depending on your configuration, $request_length + $content_length
might be a good estimate.
More information about the nginx