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

Add ring neighbour information for each token range present #59

Open
serban21 opened this issue Feb 11, 2020 · 1 comment · May be fixed by #60
Open

Add ring neighbour information for each token range present #59

serban21 opened this issue Feb 11, 2020 · 1 comment · May be fixed by #60

Comments

@serban21
Copy link

In some instances it can be useful to have a quick way of getting the list of all neighbours. Even if this is not available as a Cassandra metric, it is possible to get the information using Storage Service describeRingJMX (https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/StorageService.java#L1830), which is probably used only for nodetool describering

Also it can be useful as a way to determine ring information before scaling.

@serban21
Copy link
Author

I also added an option whether to resolve IPs to hostnames and add them as a separate label. I'd rather keep it as an option, since DNS resolve might take some time.

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

Successfully merging a pull request may close this issue.

1 participant