metrics icon indicating copy to clipboard operation
metrics copied to clipboard

Group By in `filter.highest_*`

Open Nathan-Fenner opened this issue 9 years ago • 0 comments

Sometimes, it's useful to find a representative for each of several groups; for example,

select
cpu | filter.highest_mean(3 group by app)
from -30m to now

will return 3*n series, with (up to) 3 per app, having all tags intact.

Nathan-Fenner avatar Jul 13 '16 21:07 Nathan-Fenner