Commit 336cf768 by Torkel Ödegaard

Merge pull request #194 from danharvey/add-hitcount-function

Added hitcount Transform function.
parents 9ebf769b a76d9b87
......@@ -3,12 +3,12 @@ And if you have time clone this repo and submit a pull request and help me make
kickass metrics & devops dashboard we all dream about!
Prerequisites:
Nodejs (for jshint & grunt & development server)
- Nodejs (for jshint & grunt & development server)
Clone repository:
npm install
grunt server (starts development web server in src folder)
grunt (runs jshint and less -> css compilation)
npm install
grunt server (starts development web server in src folder)
grunt (runs jshint and less -> css compilation)
Please remember to run grunt before doing pull request to verify that your code passes all the jshint validations.
......@@ -214,6 +214,13 @@ function (_) {
});
addFuncDef({
name: 'hitcount',
category: categories.Transform,
params: [ { name: "interval", type: "string" }],
defaultParams: ['10s']
});
addFuncDef({
name: 'averageAbove',
category: categories.Filter,
params: [ { name: "n", type: "int", } ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment