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 upEmpty `group_left`/`group_right` isn't working in rules #1676
Comments
beorn7
added
kind/bug
priority/P1
labels
May 27, 2016
This comment has been minimized.
This comment has been minimized.
|
This is another outcome of alert rules parsing the string version of the rules. I plan on making an empty list of labels valid, but there's a new feature I want to go with it (see #1597). |
This comment has been minimized.
This comment has been minimized.
|
So we need to fix the stringification of a PromQL expression. Work around for now is to use |
This was referenced May 28, 2016
brian-brazil
closed this
Jun 9, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
beorn7 commentedMay 27, 2016
I still have to understand why, but a
group_leftorgroup_rightclause without any labels creates an evaluation error if in a rule:It appears the parser is adding an empty
()at some point, which is then invalid syntax.(In different news,
group_right()should probably be legal and equivalent togroup_right.)@brian-brazil @fabxc