]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: stats: extract proxy json dump
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Oct 2020 16:32:03 +0000 (18:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Oct 2020 08:53:50 +0000 (10:53 +0200)
commitf34017bb74559bc5e87e34db78210a8324a580bb
tree91e5e5e67c534a9a6f0084eecf2ef174f9f769c4
parentda5b6d1cd984ca4a6e02f66756e3159f539d86f7
REORG: stats: extract proxy json dump

Create a dedicated function to dump a proxy as a json content. This
patch will be needed when other types of objects will be available for
json dump.

This patch is needed to extend stat support to components other than
proxies objects.
src/stats.c