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
VM returns different result than Prometheus #577
Comments
Confirmed that VictoriaMetrics doesn't override
This bug will be fixed soon. |
… and `group_right` lists like Prometheus does Updates #577
… and `group_right` lists like Prometheus does Updates #577
The bug should be fixed in the commit 7532dbc . @phantasia15 , could you buld VictoriaMetrics from this commit according to the instructions and verify whether the bug is fixed there? |
@valyala Confirmed that the bug is fixed with the above commit. |
@phantasia15 , thanks for the confirmation. Re-opening the issue until the bugfix is included in the next release. |
The bugfix has been included in v1.37.3. Closing the issue as fixed. |
- error on running with empty -dst dir and without -runOnStart - error on restoring with backup, created before v1.90.0
- error on running with empty -dst dir and without -runOnStart - error on restoring with backup, created before v1.90.0
Describe the bug
group_left(labels) seems to take labels from the "many" side while it should take from the "one" side
To Reproduce
VM currently returns wrong
owner_name
value:Expected behavior
Basically, both the left & right side of the binary operator contain "owner_name" label but with different values. Since I specify
group_left(owner_name)
, theowner_name
of the right side should take priority in the output.Here is the result of the left side:
The result of the right side:
The Prometheus docs here also states that the labels in group_left(labels) should be taken from "one" side. So VM should return this instead (it is also what Prometheus returns):
Version
The line returned when passing
--version
command line flag to binary.The text was updated successfully, but these errors were encountered: