When using the mysql:dbadmin interface to have telegraf poll mysql-specific metrics, the hostname across other telegraf subordinates changes to 'mysql/x'.
The issue lies in get_remote_unit_name which returns the unit_name for the first relation found, without confirming it's for that specific unit.
When using the mysql:dbadmin interface to have telegraf poll mysql-specific metrics, the hostname across other telegraf subordinates changes to 'mysql/x'.
The issue lies in get_remote_ unit_name which returns the unit_name for the first relation found, without confirming it's for that specific unit.
This is due to the removal of a test which used the IP address determine the correct unit. /git.launchpad. net/telegraf- charm/commit/ ?id=2920829b8dc 4671c0685c86d57 5a639833ec699c
https:/