Hello,
I've written a short blog post on accessing HAProxy statistics from Python - https://bit.ly/j0sDsb - it's nothing big but I hope it can at least serve as a starting point for someone trying to implementing a more sophisticated solution.
Thought I'd let you know. cheers, -- Dariusz Suchojad