MEDIUM: contrib/prometheus-exporter: export base stick table stats
authorWilliam Dauchy <wdauchy@gmail.com>
Sun, 7 Feb 2021 19:42:38 +0000 (20:42 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Feb 2021 09:49:08 +0000 (10:49 +0100)
commit69164228b8e2ac509bac52b285861a564fff226a
tree85aa9801c8fdf1d71b5a5783f14e9eb15de346bb
parent486e5117b5bb569e902ce4c524b8078d5308824b
MEDIUM: contrib/prometheus-exporter: export base stick table stats

I saw some people falling back to unix socket to collect some data they
could not find in prometheus exporter. One of them is base info from
stick tables (used/size).
I do not plan to extend it more for now; keys are quite a mess to
handle.

This should resolve github issue #1008.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c
reg-tests/contrib/prometheus.vtc