Comment 3 for bug 1910974

Revision history for this message
Haw Loeung (hloeung) wrote :

I think this is a bug in the telegraf charm, this logic here[1]:

| addr = rel["private-address"]
| if addr == hookenv.unit_private_ip():
| addr = "localhost"

If this is a 'subordinate' charm, would there ever be a case where it's not scraping haproxy stats from a locally running haproxy instance?

[1]https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n913