[MXS-444] Binlog server: Useful information to provide via maxinfo Created: 2015-11-03 Updated: 2019-05-28 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | binlogrouter, maxinfo |
| Affects Version/s: | 1.3.0 |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Simon J Mudd | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The binlog router provides several metrics via the output of maxadmin show services. It would be convenient to be able to access this status information using the new maxinfo infrastructure, probably in several "tables". The following values below imply having a single master whereas in reality MaxScale could have more than one configured binlog router. For now I'm only assuming the case of having a single active connection. The type of thing that I would like to see are:
For the slaves we basically want the same values. MaxScale can not at the moment do aggregations so you probably want to create a table with the current connected slaves which looks like this: server-id Given I can't do SELECT sum(...), Sum(...) from ... GROUP BY ... then having a sum_all_slaves table with the sum of the above metrics for all active slaves, would probably be good. Don't forget to add an additional count_slaves column so that we know for how many slaves the values are being shown. Providing this sort of output via some maxinfo structures would be good. |
| Comments |
| Comment by markus makela [ 2018-03-26 ] |
|
These could be added to the diagnostic output of the router. |