square / metrics

Metrics Query Engine
Apache License 2.0
170 stars 21 forks source link

Group By in `filter.highest_*` #318

Open Nathan-Fenner opened 8 years ago

Nathan-Fenner commented 8 years ago

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.