prometheus/rules
Julius Volz 0712d738d1 Allow alternative "by"-clause position in grammar.
In addition to the existing by-clause syntax:

  sum(<expression>) by (<labels>) [keeping_extra]

...this allows the following new syntax:

  sum by (<labels>) [keeping_extra] (<expression>)

Both orderings may be used in a single expression. It is up to the users
to establish guidelines around their usage.

Change-Id: Iba10c9cc5fb6ac62edfcf246d281473e82467992
2014-11-25 17:09:04 +01:00
..
ast Squash a number of TODOs. 2014-11-25 17:09:04 +01:00
fixtures
manager Clean up start-up and shut-down. 2014-11-25 17:08:45 +01:00
alerting.go
helpers.go
helpers_test.go Fix targetpool_test.go and other tests. 2014-11-25 17:08:26 +01:00
lexer.l
lexer.l.go
load.go
Makefile
parser.y Allow alternative "by"-clause position in grammar. 2014-11-25 17:09:04 +01:00
parser.y.go Allow alternative "by"-clause position in grammar. 2014-11-25 17:09:04 +01:00
recording.go
rules.go
rules_test.go Allow alternative "by"-clause position in grammar. 2014-11-25 17:09:04 +01:00