Bytes sent to upstream
Maxim Dounin
mdounin at mdounin.ru
Wed Mar 28 13:05:20 UTC 2018
Hello!
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
> upstream?
There is no such variable in nginx for http upstream connections.
Depending on your configuration, $request_length + $content_length
might be a good estimate.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx
mailing list