]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream/stats: Expose the total number of streams ever created in stats
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Sep 2024 15:16:00 +0000 (17:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 30 Sep 2024 14:55:53 +0000 (16:55 +0200)
commit273d322b6fa8117423bbdc9b818002563d4fd3a3
tree2518a9491195c88e438c87a668f3c3fe3ee26ead
parent18ee22ff766bd7399947af3be2b512ac5827b3c8
MINOR: stream/stats: Expose the total number of streams ever created in stats

A shared counter is added in the thread context to track the total number of
streams created on the thread. This number is then reported in stats. It
will be a useful information to diagnose some bugs.
include/haproxy/stats-t.h
include/haproxy/tinfo-t.h
src/stats.c
src/stream.c