mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 09:24:31 +00:00
655e14ef17
prometheus approach requires to output all values for a given metric name; meaning we iterate through all metrics, and then iterate in the inner loop on all objects for this metric. In order to allow more code reuse, adapt the stats API to be able to select one field or fill them all otherwise. From this patch it should be possible to add support for listen stats in prometheus. Signed-off-by: William Dauchy <wdauchy@gmail.com> |
||
---|---|---|
.. | ||
haproxy | ||
import |