Does anyone know when, specifically, the clock for $upstream_response_time begins and ends?
The documentation seems a bit vague:
keeps time spent on receiving the response from the upstream server; the time is kept in seconds with millisecond resolution. Times of several responses are separated by commas and colons like addresses in the $upstream_addr variable.
There is also an $upstream_header_time value, which adds more confusion.
I assume
$upstream_connect_timestops once the connection is established, but before it is accepted upstream?After this what does
$upstream_response_timeinclude?- Time spent waiting for upstream to accept?
- Time spent sending the request?
- Time spent sending the response header?