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
I think this is a bug in the telegraf charm, this logic here[1]:
| addr = rel["private- address" ] unit_private_ ip():
| if addr == hookenv.
| 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