DEBUG: wdt: add a stats counter "BlockedTrafficWarnings" in show info
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Nov 2024 17:10:01 +0000 (18:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Nov 2024 18:04:55 +0000 (19:04 +0100)
commitad732f17fc116c2968864d3ed9d12d152959a058
tree4da2c9addb16fb164cccd404f25122656acf9e8f
parent5904fe57bca954d8ca937bb71f47ba83c264a192
DEBUG: wdt: add a stats counter "BlockedTrafficWarnings" in show info

Every time a warning is issued about traffic being blocked, let's
increment a global counter so that we can check for this situation
in "show info".

(cherry picked from commit 84dd05e7d83eeee4e7b8c64dc656cdd608c78806)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/debug.h
include/haproxy/stats-t.h
src/debug.c
src/stats.c