-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 flag max query samples #1369
Conversation
Thanks for working on this! Very appreciated. In the original issue @bwplotka says:
Is this really true? Could you or someone point me to code where this happens? I'm afraid that the PromQL engine only sees the "end results", after the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/reopen |
Just ask us (: Or help us maintaining Thanos and become Thanos maintainer or Triage (: Would you be interested @yeya24 ? (: |
Signed-off-by: yeya24 <yb532204897@gmail.com>
e6f8720
to
240f373
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.
LGTM 👍
Thanks!
What about my comment? AIUI this limit is only being applied after the results from |
@GiedriusS Thanks for the comment. I think you are right, these samples from Select() are already in the Querier's memory and the help message in this flag is quite misleading. What about |
Sorry, I totally missed this. You are right @GiedriusS I believe in this case we even have to calculate by estimating chunks again when they appear on stream... 🤔 |
Yep, that's why I was hesitant to merge this. Maybe let's revert this current version and remake it into something that uses a counter on the |
Agree - let's revert. Sorry my bad - premature approve. |
It's ok, no worries! 😄 |
Signed-off-by: yeya24 yb532204897@gmail.com
Changes
fix #703
Verification