]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] session-counters: add HTTP req/err tracking
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jun 2010 09:44:09 +0000 (11:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 16:04:14 +0000 (18:04 +0200)
commitda7ff64aa917dec26ee0f2932a18d2cd4b4fd54b
tree086216e0826ac74a52d2ab78289eb86b78c97f23
parentc3bd972cdaf63ef2fbcf69f3ffa19ece8d7087e6
[MEDIUM] session-counters: add HTTP req/err tracking

This patch adds support for the following session counters :
  - http_req_cnt : HTTP request count
  - http_req_rate: HTTP request rate
  - http_err_cnt : HTTP request error count
  - http_err_rate: HTTP request error rate

The equivalent ACLs have been added to check the tracked counters
for the current session or the counters of the current source.
include/proto/session.h
include/types/stick_table.h
src/proto_http.c
src/session.c
src/stick_table.c