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 option to log queries only when rows returned/affected >= X #7509

Merged
merged 5 commits into from
Mar 3, 2021

Conversation

aquarapid
Copy link
Contributor

Re-do of #5938

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
certain number of rows.
Redo of PR vitessio#5938, minimizing type changes this time.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@guidoiaquinti
Copy link
Member

Nice! I was actually going to implement something similar and add metrics as well. It could be nice to have a histogram for each digest displaying the query counts by LIMIT.

What do you think about it?

@aquarapid
Copy link
Contributor Author

Yeah, that is somewhat more work. I won't take that on in this PR :-)

Nice! I was actually going to implement something similar and add metrics as well. It could be nice to have a histogram for each digest displaying the query counts by LIMIT.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach merged commit 47151ab into vitessio:master Mar 3, 2021
@shlomi-noach shlomi-noach deleted the jg_querylog branch March 3, 2021 05:26
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 this pull request may close these issues.

None yet

3 participants