mirror of
https://github.com/prometheus/prometheus
synced 2024-12-28 01:32:19 +00:00
6dc36d0c3e
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 |
||
---|---|---|
.. | ||
ast.go | ||
functions_test.go | ||
functions.go | ||
persistence_adapter.go | ||
printer.go | ||
query_analyzer.go | ||
walk.go |