Revision 690d6cee4efc0bae1f47151658199b1e23ec28af authored by brharrington on 02 February 2021, 19:53:13 UTC, committed by GitHub on 02 February 2021, 19:53:13 UTC
Fixes #1224. Adds variants of topk/bottomk that in addition to computing the highest priority values will also return an aggregate time series that includes all of the other time series that were not high enough priority. This can be useful to see what proportion of the overall volume is represented by the highest priority time series. The operators have the same signature as `:topk` and `:bottomk`, but the aggregation to use is specified in the operator name. There are four aggregates supported: - min - max - sum - avg Count was not included as an aggregate because it could be ambiguous and does not seem useful. As part of this work there was some refactoring of the existing aggregation operations to make the count case more consistent.
1 parent 6078f58
.gitignore
# Tmp files created by vim
*.swp
# Compiled sources
*.class
# Anything in target dirs
build
gh-pages-build
target
# Ivy caches
.gradle
.ivy2
.ivy2.cache
.sbt
# Intellij
*.iml
*.ipr
*.iws
# anything in .idea dirs
.idea
.idea_modules
out
Computing file changes ...