Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upBool Operator does not work as expected #5220
Comments
This comment has been minimized.
This comment has been minimized.
|
Normal matching behaviour is what's happening here, try with values other than 1 and you'll see what's happening. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Feb 14, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
toninis commentedFeb 14, 2019
•
edited
Bug Report
What did you do?
Tried to bool compare two vectors.
Vector 1
which has output:
Vector 2
which has output:
So I compared the two vectors with the bool option:
What did you expect to see?
Based on docs here :
Shouldn't the result of this operation using the bool option to keep the ones unmached and provide the output below.
What did you see instead? Under which circumstances?
Instead the expected results get filtered out as below. Is this the corect behaviour ?
What am I missing ?
Environment
Linux 4.15.0-1031-aws x86_64