]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: Add "Tu" timer
authorDamien Claisse <d.claisse@criteo.com>
Tue, 28 Apr 2020 12:09:19 +0000 (12:09 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Apr 2020 14:30:13 +0000 (16:30 +0200)
commit57c8eb939dfa240892dd74cc90ce46578783e5ae
tree7d29d69455357055437416f25ccd10ea4f5d4f59
parent528f4811d60e6d9ec1cba167a9ab241142d6d9c7
MINOR: log: Add "Tu" timer

It can be sometimes useful to measure total time of a request as seen
from an end user, including TCP/TLS negotiation, server response time
and transfer time. "Tt" currently provides something close to that, but
it also takes client idle time into account, which is problematic for
keep-alive requests as idle time can be very long. "Ta" is also not
sufficient as it hides TCP/TLS negotiationtime. To improve that, introduce
a "Tu" timer, without idle time and everything else. It roughly estimates
time spent time spent from user point of view (without DNS resolution
time), assuming network latency is the same in both directions.
doc/configuration.txt
include/types/log.h
src/log.c