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 ...@@ -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! kickass metrics & devops dashboard we all dream about!
Prerequisites: Prerequisites:
Nodejs (for jshint & grunt & development server) - Nodejs (for jshint & grunt & development server)
Clone repository: Clone repository:
npm install npm install
grunt server (starts development web server in src folder) grunt server (starts development web server in src folder)
grunt (runs jshint and less -> css compilation) 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. Please remember to run grunt before doing pull request to verify that your code passes all the jshint validations.
...@@ -214,6 +214,13 @@ function (_) { ...@@ -214,6 +214,13 @@ function (_) {
}); });
addFuncDef({ addFuncDef({
name: 'hitcount',
category: categories.Transform,
params: [ { name: "interval", type: "string" }],
defaultParams: ['10s']
});
addFuncDef({
name: 'averageAbove', name: 'averageAbove',
category: categories.Filter, category: categories.Filter,
params: [ { name: "n", type: "int", } ], 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