G
G
gremlintv22019-01-31 20:40:11
Nginx
gremlintv2, 2019-01-31 20:40:11

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

1 answer(s)
M
Mysterion, 2019-01-31
@Mysterion

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 question

Ask a Question

731 491 924 answers to any question