Answer the question
In order to leave comments, you need to log in
Is it possible to log in NGINX the time of a request from a client?
Those. not the time of the request on the server itself or upstream, but:
the time (DNS + Connect + TLS + Wait + Receive) from the creation of the request to its end.
It sounds crazy but: maybe some kind of headers can really be thrown?
Answer the question
In order to leave comments, you need to log in
https://www.nginx.com/blog/using-nginx-logging-for...
It is completely impossible to record the time of the first request and the last, because it is not clear where the last one is.
And the visitor may not wait for the full download, and then click on another link.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question