-
Notifications
You must be signed in to change notification settings - Fork 820
Add support to log slow queries in Frontend #1744
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
Conversation
c6698c2
to
46660d1
Compare
46660d1
to
8d2bf57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @achilles42, thank you for the PR! I think it's an important effort to surface slow query details.
I've left a few comments, so please have a look.
66c9569
to
010cd35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @achilles42 LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after fixes are made!
Could you also add a changelog entry? |
4d92fec
to
67dd154
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I left few comments which I would be glad you take a look before merging (especially the CLI flag which looks wrong to me).
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
8649f8c
to
ae6c234
Compare
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
Signed-off-by: Praveen Shukla <praveen.shukla.c42@gmail.com>
This PR has a feature to log slow queries in Frontend based on
querier.log-queries-longer-than
parameter. As per this discussion on issue 1567cc @gouthamve