Kaynağa Gözat

feat(graphite): add optional parameter for perSecond

closes #966
carl bergquist 10 yıl önce
ebeveyn
işleme
28ec6b4d60

+ 1 - 1
public/app/plugins/datasource/graphite/gfunc.js

@@ -43,7 +43,7 @@ function (_, $) {
   addFuncDef({
     name: 'perSecond',
     category: categories.Transform,
-    params: [],
+    params: [{ name: "max value", type: "int", optional: true }],
     defaultParams: [],
   });