]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[STATS] separate frontend and backend HTTP stats
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2010 09:30:28 +0000 (10:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2010 09:30:28 +0000 (10:30 +0100)
commit24657794594693a7e933716cd79bcbb266572d39
treee9d949e18acdda8a9328333f6def559efb9a3952
parentd9b587f260b99045bce95b34cbe4c1cee7081262
[STATS] separate frontend and backend HTTP stats

It is wrong to merge FE and BE stats for a proxy because when we consult a
BE's stats, it reflects the FE's stats eventhough the BE has received no
traffic. The most common example happens with listen instances, where the
backend gets credited for all the trafic even when a use_backend rule makes
use of another backend.
include/types/counters.h
src/dumpstats.c
src/proto_http.c
src/session.c