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
c7c88902
Commit
c7c88902
authored
Mar 28, 2014
by
Sebastian YEPES
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sortByMaxima,sortByMinima,limit,mostDeviant,movingMedian,stdev
parent
6100336b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
src/app/services/graphite/gfunc.js
+38
-0
No files found.
src/app/services/graphite/gfunc.js
View file @
c7c88902
...
...
@@ -168,6 +168,16 @@ function (_) {
});
addFuncDef
({
name
:
'sortByMaxima'
,
category
:
categories
.
Special
});
addFuncDef
({
name
:
'sortByMinima'
,
category
:
categories
.
Special
});
addFuncDef
({
name
:
'aliasByMetric'
,
category
:
categories
.
Special
,
});
...
...
@@ -316,6 +326,20 @@ function (_) {
});
addFuncDef
({
name
:
'limit'
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"n"
,
type
:
"int"
}
],
defaultParams
:
[
5
]
});
addFuncDef
({
name
:
'mostDeviant'
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"n"
,
type
:
"int"
}
],
defaultParams
:
[
10
]
});
addFuncDef
({
name
:
"exclude"
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"exclude"
,
type
:
'string'
}
],
...
...
@@ -351,6 +375,20 @@ function (_) {
});
addFuncDef
({
name
:
'movingMedian'
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"windowSize"
,
type
:
"select"
,
options
:
[
'1min'
,
'5min'
,
'15min'
,
'30min'
,
'1hour'
]
}
],
defaultParams
:
[
'1min'
]
});
addFuncDef
({
name
:
'stdev'
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"n"
,
type
:
"int"
},
{
name
:
"tolerance"
,
type
:
"int"
}
],
defaultParams
:
[
5
,
0.1
]
});
addFuncDef
({
name
:
'highestAverage'
,
category
:
categories
.
Filter
,
params
:
[
{
name
:
"count"
,
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