mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-22 22:57:16 -04:00
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 | ||
| fixtures | ||
| alerting.go | ||
| helpers.go | ||
| helpers_test.go | ||
| lexer.l | ||
| lexer.l.go | ||
| load.go | ||
| Makefile | ||
| manager.go | ||
| parser.y | ||
| parser.y.go | ||
| recording.go | ||
| rules.go | ||
| rules_test.go | ||
| telemetry.go | ||