[MAJOR] Add a 'start_time' variable to nginx 1.4.1 to support an X-REQUEST-START header.
This header is could be used to record queue time.
example (server sectoin): proxy_set_header X-Request-Start $start_time;
Also could be used in log ou can add in your log_format:
$upstream_response_time "$start_time" "$msec"