Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide standalone replication-manager-cli top command #450

Open
svaroqui opened this issue Sep 1, 2022 · 1 comment
Open

Provide standalone replication-manager-cli top command #450

svaroqui opened this issue Sep 1, 2022 · 1 comment
Assignees
Labels

Comments

@svaroqui
Copy link
Collaborator

svaroqui commented Sep 1, 2022

This command should provide equivalent of innotop in perl

To make it standalone we will start a cluster monitor class that listen on localhost and write it's own dataset into directory ./replication-mangager/data of running user.

A cluster configuration file will be produce in file ./replication-mangager/config.toml by default a single server is added into the cluster with current user no password or with user input if any parameters --host --user --password

The client will talk with the new api v3 and can also connect to an existing monitor using parameter monitor-url (default localhost)

From the API processlist of each cluster server can send processlist , explain of a query, variables, status, etc
We could improve the API to return array of per server object when query on a full cluster instead of a single server

@svaroqui svaroqui added the task label Sep 1, 2022
@svaroqui
Copy link
Collaborator Author

svaroqui commented Sep 1, 2022

This is motivated by the current issues from mariadb packaging with dependences on perl packages and many different repo that provide mytop possibly a symlink mariadb-top and mariadb-config can be made for foundation. to our tools via a contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants