Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Include Instance Alias in the output from the command line #1214

Open
martinarrieta opened this issue Jul 22, 2020 · 0 comments
Open

Include Instance Alias in the output from the command line #1214

martinarrieta opened this issue Jul 22, 2020 · 0 comments

Comments

@martinarrieta
Copy link
Contributor

Currently, when you display the topology from the command line, it only displays the Hostname and Port, however, it could be helpful (it is for us that we manage everything with IP's) to display as well the InstanceAlias if is set.

So instead of this:

10.0.0.2  [0s,ok,5.7.30-33-log,rw,MIXED,>>,P-GTID]
+ 10.0.0.3 [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]
+ 10.0.0.4 [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]

Display this:

10.0.0.8 (mysql1) [0s,ok,5.7.30-33-log,rw,MIXED,>>,P-GTID]
+ 10.0.0.3 (mysql2) [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]
+ 10.0.0.4 (mysql3) [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant