]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] measure and report session rate on frontend, backends and servers
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2009 17:43:00 +0000 (18:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2009 17:43:00 +0000 (18:43 +0100)
commit7f062c41933143d7cd55be492a5af3f1c7c93c8e
tree74c517add691b0b42085e49ce5787810b53596a6
parent755905857ac26c28d9886ab94c410b6fec4de192
[MEDIUM] measure and report session rate on frontend, backends and servers

With this change, all frontends, backends, and servers maintain a session
counter and a timer to compute a session rate over the last second. This
value will be very useful because it varies instantly and can be used to
check thresholds. This value is also reported in the stats in a new "rate"
column.
17 files changed:
Makefile
Makefile.bsd
Makefile.osx
doc/configuration.txt
include/common/standard.h
include/proto/freq_ctr.h [new file with mode: 0644]
include/proto/proxy.h
include/proto/server.h
include/types/freq_ctr.h [new file with mode: 0644]
include/types/proxy.h
include/types/server.h
src/backend.c
src/client.c
src/dumpstats.c
src/freq_ctr.c [new file with mode: 0644]
src/proto_http.c
src/session.c