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

Added hitcount Transform function.
This commit is contained in:
Torkel Ödegaard 2014-03-12 09:57:47 +01:00
commit 336cf768d8
2 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,7 @@ 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:

View File

@ -213,6 +213,13 @@ function (_) {
category: categories.Transform,
});
addFuncDef({
name: 'hitcount',
category: categories.Transform,
params: [ { name: "interval", type: "string" }],
defaultParams: ['10s']
});
addFuncDef({
name: 'averageAbove',
category: categories.Filter,