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

fix: wrong query result from aggregation Operators #704

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paulojmdias
Copy link

Partially fixes: #703

I said to partially fix the #703 issue since if you do the query count(up{label_key="label_value"}), you will have the sum of all values from all server groups defined, and not just the max one from a single server group.

I don't know if is expected or not, but per my tests, I see the preferMax always reaches with value false to the merge functions due to this setup.

I opened this PR for discussion 🙌

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
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.

Wrong query result from aggregation Operators
1 participant