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

Improve diagnostic view for cqld4 routing statistics #1797

Open
jshook opened this issue Jan 23, 2024 · 0 comments
Open

Improve diagnostic view for cqld4 routing statistics #1797

jshook opened this issue Jan 23, 2024 · 0 comments

Comments

@jshook
Copy link
Contributor

jshook commented Jan 23, 2024

Scenario: You are testing a system with cqld4 and you want to know how the load balancing policy is selecting over the available nodes.

This can be easily implemented by wrapping the selected load balancing policy in a diagnostic facade.

At some interval, the following details should be logged to a dedicated logger named 'CQLROUTING".

  • The current view of the topology as seen by the policy
  • A histogram of node selections since the last time it was reported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant