-
Notifications
You must be signed in to change notification settings - Fork 833
Backport remote read fix to release 1.19 #7031
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
thanks! |
Signed-off-by: yeya24 <[email protected]>
Signed-off-by: Daniel Sabsay <[email protected]> Co-authored-by: Daniel Sabsay <[email protected]>
I have to cherry-pick #6584 to make the build working as Github doesn't support ubuntu 20.04 runner anymore |
Signed-off-by: yeya24 <[email protected]>
Signed-off-by: SungJin1212 <[email protected]>
// Check if we need to parse the query string to avoid parsing twice. | ||
shouldReportSlowQuery := f.cfg.LogQueriesLongerThan != 0 && queryResponseTime > f.cfg.LogQueriesLongerThan | ||
if shouldReportSlowQuery && !f.cfg.QueryStatsEnabled { | ||
queryString = f.parseRequestQueryString(r, buf) |
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.
Should we also ignore remote_read
if frontend.log-queries-longer-than
is enabled?
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.
Oh, I see.. this is beneath the round trip
What this PR does:
Backport #7025 fix to 1.19 release and prepare for 1.19.1 release.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]