prometheus/rules/ast
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.go Don't keep extra labels in aggregations by default. 2013-12-16 12:53:10 +01:00
functions.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
functions_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
persistence_adapter.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
printer.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
query_analyzer.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
walk.go Use AST query analyzer and views with tiered storage. 2013-03-21 18:16:52 +01:00