percentil: refactor

This commit is contained in:
Alexander Zobnin
2017-10-16 15:25:02 +03:00
parent 872f1ac9c8
commit f53eac6f08
12 changed files with 65 additions and 9 deletions

View File

@@ -111,6 +111,13 @@ addFuncDef({
defaultParams: ['1m']
});
addFuncDef({
name: 'percentil',
category: 'Aggregate',
params: [{ name: 'interval', type: 'string' }, { name: 'percent', type: 'float', options: [25, 50, 75, 90, 95, 99, 99.9] }],
defaultParams: ['1m', 95]
});
addFuncDef({
name: 'min',
category: 'Aggregate',