]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: Add the support of float fields in stats
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 24 Sep 2019 14:35:10 +0000 (16:35 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Sep 2019 06:49:09 +0000 (08:49 +0200)
commit88a0db28aeb45e451d36645612e11cd284cc7ef4
tree048872c4438ea34b94e365d45a5773e19ca1520f
parentd72665b42573718ade5120a08b10a0e24b9060f0
MINOR: stats: Add the support of float fields in stats

It is now possible to format stats counters as floats. But the stats applet does
not use it.

This patch is required by the Prometheus exporter to send the time averages in
seconds. If the promex change is backported, this patch must be backported
first.
include/proto/stats.h
include/types/stats.h
src/stats.c