]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: add abstract type to store counters
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 5 Oct 2020 09:49:41 +0000 (11:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Oct 2020 10:02:14 +0000 (12:02 +0200)
commit730c727ea34a695279e1919fd4506688cfe3711b
tree837951df25bcbf861a4d67a8eb07ea1986f5693e
parent58d395e0d6da1b73524f9ad9a8e10e437c680b89
MEDIUM: stats: add abstract type to store counters

Implement a small API to easily add extra counters inside a structure
instance. This will be used to implement dynamic statistics linked on
every type of object as needed.

The counters are stored in a dynamic array inside the relevant objects.
include/haproxy/stats-t.h