Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
336cf768
Commit
336cf768
authored
Mar 12, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #194 from danharvey/add-hitcount-function
Added hitcount Transform function.
parents
9ebf769b
a76d9b87
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
CONTRIBUTING.md
+4
-4
src/app/services/graphite/gfunc.js
+7
-0
No files found.
CONTRIBUTING.md
View file @
336cf768
...
...
@@ -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.
src/app/services/graphite/gfunc.js
View file @
336cf768
...
...
@@ -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"
,
}
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment