Comment 2 for bug 1824568

Revision history for this message
Tom Haddon (mthaddon) wrote :

We should be able to do this relatively cheaply by looking at the telegraf haproxy relation. This is implemented in the haproxy charm as the statistics relation, the relevant portion of which seems to be https://pastebin.ubuntu.com/p/8qgrkJxKqq/. Obviously there's a little more to it than that as there are functions referenced there, but this should be the approach we take.