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 metrics showing the number of events evaluated #2096

Open
jwomeara opened this issue Sep 26, 2023 · 0 comments · May be fixed by #2138
Open

Add metrics showing the number of events evaluated #2096

jwomeara opened this issue Sep 26, 2023 · 0 comments · May be fixed by #2138
Assignees
Labels
enhancement New feature or request

Comments

@jwomeara
Copy link
Collaborator

We save statistics for the number of next, seek, and fi ranges we see for a given query. We should also save statistics for the total number of events we evaluate for a given query. This would give us useful insights into the number of events returned vs the number thrown away during evaluation. This could help to explain queries which tend to run longer for seemingly no reason - the theory being that they are spending a lot of time throwing away potential matches.

Whoever works this ticket should 1) update the query iterator to save off the number of events evaluated and return that information to the webservice, and 2) update the query metric html page to display the number of events evaluated, and the number of events rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment