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 upSupport grouping rules such that rules within a group are executed sequentially #1095
Comments
This was referenced Sep 17, 2015
This comment has been minimized.
This comment has been minimized.
|
As an additional note, we'll also likely want to use such groups to indicate which rules are allowed to access remote storage. Generally remote storage should be avoided for reliability reasons, and only be used for human trending. |
brian-brazil
added
the
feature-request
label
Dec 16, 2015
fabxc
referenced this issue
Apr 25, 2016
Closed
promql: separate expression language and rule parsing #1595
fabxc
added
kind/enhancement
and removed
feature request
labels
Apr 28, 2016
This comment has been minimized.
This comment has been minimized.
zxwing
commented
Jul 13, 2016
|
Is there any timeline for this feature? |
This comment has been minimized.
This comment has been minimized.
|
It's not a super-trivial one so it will take a bit. But it's high up on the list of next features to work on. |
This comment has been minimized.
This comment has been minimized.
aecolley
commented
Oct 31, 2016
|
Are there any thoughts on how these groupings will be expressed syntactically? It occurred to me that it can be inferred automatically by comparing (lhs) rule names+labelsets with (rhs) metric selectors, and grouping all possibly-matching rules together. However, this is a bit automagic, so it's not necessarily the obvious solution. I'm considering making an unpublished patch to implement this, just to stay on top of mounting technical debt. I would prefer not to diverge too far from whatever plans you have without good reason, so I'm asking what those plans are. |
This comment has been minimized.
This comment has been minimized.
brian-brazil
referenced this issue
Nov 28, 2016
Closed
Add the HTTP API to get the json string of rules #2229
This comment has been minimized.
This comment has been minimized.
|
A proposal for fixing this with backward compatibility is here: https://docs.google.com/document/d/1AgRT1sJyvxwVx6ZLffUKFZ3yYFt01LSz_ohLQbA2yc4/edit |
This comment has been minimized.
This comment has been minimized.
|
Added in 2.0. |
brian-brazil
closed this
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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. |
juliusv commentedSep 17, 2015
Introduce a mechanism to wrap a set of rules into a group in such a way that all rules within that group are executed sequentially (vs. in parallel). This allows dependent rules to work deterministically.
Historical note: See also discussions on #1088 and #17.