From 4b0cd0776d01b13ab81f8cbbee80db4645d224f7 Mon Sep 17 00:00:00 2001 From: Lucian Grosu Date: Tue, 25 Feb 2014 12:21:56 +0100 Subject: [PATCH] Added the 'stacked' and 'lowestCurrent' functions --- src/app/services/graphite/gfunc.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/app/services/graphite/gfunc.js b/src/app/services/graphite/gfunc.js index a70c0beab38..59e8926ebe5 100644 --- a/src/app/services/graphite/gfunc.js +++ b/src/app/services/graphite/gfunc.js @@ -76,6 +76,13 @@ function (_) { defaultParams: ['', ''] }); + addFuncDef({ + name: "stacked", + category: categories.Special, + params: [ { name: "stack", type: 'string' } ], + defaultParams: ['stacked'] + }); + addFuncDef({ name: "groupByNode", category: categories.Special, @@ -213,6 +220,13 @@ function (_) { defaultParams: [5] }); + addFuncDef({ + name: 'lowestCurrent', + category: categories.Filter, + params: [ { name: "count", type: "int" } ], + defaultParams: [5] + }); + addFuncDef({ name: 'movingAverage', category: categories.Filter,