]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: maintain per-backend and per-server time statistics
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Jun 2014 10:19:18 +0000 (12:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Jun 2014 15:15:56 +0000 (17:15 +0200)
commit4bfc580dd36e97b95bc747a93e4819d600b091c1
tree620c51cb874541dfb86a8040827b6acc941c7a83
parent2438f2b9846d20afae18f04ce1760eede7516c30
MEDIUM: session: maintain per-backend and per-server time statistics

Using the last rate counters, we now compute the queue, connect, response
and total times per server and per backend with a 95% accuracy over the last
1024 samples. The operation is cheap so we don't need to condition it.
include/common/defaults.h
include/proto/session.h
include/types/counters.h
src/proto_http.c
src/session.c