prometheus/rules
Julius Volz 6dc36d0c3e Don't keep extra labels in aggregations by default.
MIN/MAX/SUM/AVG/COUNT aggregations will now by default drop all labels that are
not specifically part of a BY-clause, even if a label value is the same within
all timeseries of an aggregation group. The old behavior of keeping extra
labels may still be switched on by adding KEEPING_EXTRA to the end of an
aggregation statement:

  sum(http_requests) by (job, method) keeping_extra

I'm open to better syntax/naming suggestions.

Change-Id: I21d3fe7af9e98552ce3dffa3ce7c0a4ba4c0b4a4
2013-12-16 12:53:10 +01:00
..
ast Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
fixtures Add alertmanager notification support to Prometheus. 2013-07-30 17:23:41 +02:00
alerting.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
helpers_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
helpers.go Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
lexer.l Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
lexer.l.go Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
load.go Use github.com/golang/glog for all logging. 2013-08-12 17:54:36 +02:00
Makefile Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
manager.go Merge "Display filename when encountering bad rule file." 2013-12-13 15:01:02 +01:00
parser.y Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
parser.y.go Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
recording.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
rules_test.go Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
rules.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
telemetry.go add evalDuration histogram and ruleCount counter for rules 2013-12-11 15:42:53 -05:00