diff --git a/src/app/services/graphite/gfunc.js b/src/app/services/graphite/gfunc.js index b6117f1bb50..dcd6ef3e632 100644 --- a/src/app/services/graphite/gfunc.js +++ b/src/app/services/graphite/gfunc.js @@ -152,6 +152,16 @@ function (_) { defaultParams: [3] }); + addFuncDef({ + name: 'substr', + category: categories.Special, + params: [ + { name: "start", type: "int", options: [-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,12] }, + { name: "stop", type: "int", options: [-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,12] }, + ], + defaultParams: [0, 0] + }); + addFuncDef({ name: 'sortByName', category: categories.Special