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

Separate out system reads from regular reads in the metrics #104

Open
alicel opened this issue Feb 23, 2023 · 0 comments
Open

Separate out system reads from regular reads in the metrics #104

alicel opened this issue Feb 23, 2023 · 0 comments

Comments

@alicel
Copy link
Collaborator

alicel commented Feb 23, 2023

At the moment, system reads are counted as regular reads and displayed in the metrics accordingly.

While this is technically correct (these are CQL reads after all), it can result in some confusion when looking at the metrics - especially due to the fact that system reads are always routed to Origin regardless of which cluster is set as primary. This means that, for example, a user who configures the proxy to use Target as primary and then issues some reads will still see read activity going to Origin due to metadata reads etc.

To improve this we have a few options:

  • Not track system reads at all (although this is not really accurate - system reads are CQL reads that are handled by the proxy).
  • Track them into a separate time series that is still represented in the Reads graphs but is separated out from the reads to regular tables. This would definitely be a clearer way to represent them.
  • Create a new type of metrics specifically for system reads and represent them on dedicated graphs. This would probably be the most correct solution but requires a bit more work.

Whichever option we go for, we should also add some information (perhaps in the Troubleshooting section) about system reads and how they are reflected in the metrics.

┆Issue is synchronized with this Jira Task by Unito
┆Components: Proxy
┆Issue Number: ZDM-542

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

No branches or pull requests

1 participant