forked from EinsamHauer/disthene-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.txt
173 lines (150 loc) · 5.51 KB
/
functions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
IMPLEMENTED
========================================================================================================================
# Combine functions
'averageSeries' : averageSeries,
'avg' : averageSeries,
'sumSeries' : sumSeries,
'sum' : sumSeries,
'multiplySeries' : multiplySeries,
'countSeries': countSeries,
'minSeries' : minSeries,
'maxSeries' : maxSeries,
'rangeOfSeries': rangeOfSeries,
'stddevSeries' : stddevSeries,
'percentileOfSeries': percentileOfSeries,
'averageSeriesWithWildcards': averageSeriesWithWildcards,
'sumSeriesWithWildcards': sumSeriesWithWildcards,
'multiplySeriesWithWildcards': multiplySeriesWithWildcards,
# Transform functions
'absolute' : absolute,
'scale' : scale,
'scaleToSeconds' : scaleToSeconds,
'offset' : offset,
'offsetToZero' : offsetToZero,
'integral' : integral,
'log' : logarithm,
'timeShift': timeShift,
'derivative' : derivative,
'squareRoot' : squareRoot,
'pow' : pow,
'perSecond' : perSecond,
'invert' : invert,
'nonNegativeDerivative' : nonNegativeDerivative,
'percentileOfSeries': percentileOfSeries,
'highestMax' : highestMax,
'timeStack': timeStack,
'summarize' : summarize,
'hitcount' : hitcount
# Calculate functions
'divideSeries' : divideSeries,
'diffSeries' : diffSeries,
'asPercent' : asPercent,
'pct' : asPercent,
'movingAverage' : movingAverage, ***MODIFIED***
'movingMedian' : movingMedian, ***MODIFIED***
'stdev' : stdev,
'holtWintersForecast': holtWintersForecast,
'holtWintersConfidenceBands': holtWintersConfidenceBands,
'holtWintersConfidenceArea': holtWintersConfidenceArea,
'holtWintersAberration': holtWintersAberration,
# Series Filter functions
'mostDeviant' : mostDeviant,
'highestCurrent' : highestCurrent,
'highestAverage' : highestAverage,
'lowestCurrent' : lowestCurrent,
'lowestAverage' : lowestAverage,
'currentAbove' : currentAbove,
'currentBelow' : currentBelow,
'averageAbove' : averageAbove,
'averageBelow' : averageBelow,
'maximumAbove' : maximumAbove,
'minimumAbove' : minimumAbove,
'maximumBelow' : maximumBelow,
'minimumBelow' : minimumBelow,
'nPercentile' : nPercentile,
'limit' : limit,
'sortByTotal' : sortByTotal,
'sortByName' : sortByName,
'sortByMaxima' : sortByMaxima,
'sortByMinima' : sortByMinima,
'averageOutsidePercentile' : averageOutsidePercentile,
'exclude' : exclude,
'grep' : grep,
# Data Filter functions
'removeAboveValue' : removeAboveValue,
'removeBelowValue' : removeBelowValue,
'removeAbovePercentile' : removeAbovePercentile,
'removeBelowPercentile' : removeBelowPercentile,
# Special functions
'stacked' : stacked,
'dashed' : dashed,
'secondYAxis': secondYAxis,
'alias' : alias,
'alpha' : alpha,
'color' : color,
'aliasByNode' : aliasByNode,
'aliasByMetric' : aliasByMetric,
'constantLine' : constantLine,
'keepLastValue' : keepLastValue,
'isNonNull' : isNonNull,
'legendValue' : legendValue,
'cactiStyle' : cactiStyle,
'transformNull' : transformNull,
'lineWidth' : lineWidth,
'drawAsInfinite' : drawAsInfinite,
'areaBetween' : areaBetween,
'aggregateLine' : aggregateLine,
'group' : group,
'aliasSub' : aliasSub,
'threshold' : threshold,
'groupByNodes' : groupByNodes,
'groupByNode' : groupByNode
NOT IMPLEMENTED
========================================================================================================================
# Combine functions
'weightedAverage': weightedAverage,
# Transform functions
# Calculate functions
# Series Filter functions
# Data Filter functions
# Special functions
WILL NOT BE IMPLEMENTED???
========================================================================================================================
# Transform functions
'smartSummarize' : smartSummarize, ***not sure it's needed at all, use case is rare?***
# Series Filter functions
'fallbackSeries' : fallbackSeries,
'removeBetweenPercentile' : removeBetweenPercentile,
'useSeriesAbove': useSeriesAbove,
'removeEmptySeries' : removeEmptySeries,
# Special functions
'map': mapSeries, ***overkill/need to change grammar***
'mapSeries': mapSeries, ***overkill/need to change grammar***
'reduce': reduceSeries, ***overkill/need to change grammar***
'reduceSeries': reduceSeries, ***overkill/need to change grammar***
'identity': identity, ***corner use case***
'cumulative' : cumulative, ***seems to be useful only in some corner cases***
'consolidateBy' : consolidateBy, ***seems to be useful only in some corner cases***
'changed' : changed, ***seems to be useful only in some corner cases***
'substr' : substr, ***seems to be useful only in some corner cases***
# test functions
'time': timeFunction,
"sin": sinFunction,
"randomWalk": randomWalkFunction,
'timeFunction': timeFunction,
"sinFunction": sinFunction,
"randomWalkFunction": randomWalkFunction,
#events
'events': events,
PARAMS NOT IMPLEMENTED
========================================================================================================================
jsonp ***makes no sense***
localOnly ***makes no sense***
noCache ***makes little sense***
template ***not sure if it's needed***
xFormat ***not sure if it's needed***
yDivisor ***not sure if it's needed***
vtitle ***not working as expected***
vtitleRight ***not working as expected***
BUGS
========================================================================================================================