Functions
An up to date list of functuions can always be viewed from the DalmatinerFE UI.
Aggregates
Functions | description | Help |
---|---|---|
avg | avg(metric, time) -> metric | Calculates the average over a given period of time. |
count_above | count_above(metric, float, time) -> metric | Returns the count of value above a given threshold. |
count_above | count_above(metric, integer, time) -> metric | Returns the count of value above a given threshold. |
count_above_conf | count_above_conf(metric, integer, time) -> metric | Returns the count of value above a given confidence threshold. |
count_above_conf | count_above_conf(metric, float, time) -> metric | Returns the count of value above a given confidence threshold. |
count_below | count_below(metric, integer, time) -> metric | Returns the count of value below a given threshold. |
count_below | count_below(metric, float, time) -> metric | Returns the count of value below a given threshold. |
count_below_conf | count_below_conf(metric, float, time) -> metric | Returns the count of value below a given confidence threshold. |
count_below_conf | count_below_conf(metric, integer, time) -> metric | Returns the count of value below a given confidence threshold. |
first_above | first_above(metric, integer, time) -> metric | Returns the fist value above a given threshold. |
first_above | first_above(metric, float, time) -> metric | Returns the fist value above a given threshold. |
first_above_conf | first_above_conf(metric, integer, time) -> metric | Returns the first value above a given confidence threshold. |
first_above_conf | first_above_conf(metric, float, time) -> metric | Returns the first value above a given confidence threshold. |
first_below | first_below(metric, integer, time) -> metric | Returns the fist value below a given threshold. |
first_below | first_below(metric, float, time) -> metric | Returns the fist value below a given threshold. |
first_below_conf | first_below_conf(metric, float, time) -> metric | Returns the first value below a given confidence threshold. |
first_below_conf | first_below_conf(metric, integer, time) -> metric | Returns the first value below a given confidence threshold. |
last_above | last_above(metric, float, time) -> metric | Returns the last value above a given threshold. |
last_above | last_above(metric, integer, time) -> metric | Returns the last value above a given threshold. |
last_above_conf | last_above_conf(metric, float, time) -> metric | Returns the last value above a given confidence threshold. |
last_above_conf | last_above_conf(metric, integer, time) -> metric | Returns the last value above a given confidence threshold. |
last_below | last_below(metric, integer, time) -> metric | Returns the last value below a given threshold. |
last_below | last_below(metric, float, time) -> metric | Returns the last value below a given threshold. |
last_below_conf | last_below_conf(metric, integer, time) -> metric | Returns the last value below a given confidence threshold. |
last_below_conf | last_below_conf(metric, float, time) -> metric | Returns the last value below a given confidence threshold. |
max | max(metric, time) -> metric | Calculates the maximum value of a series over a given period of time |
median | median(metric, time) -> metric | Calculates the median over a given period of time. |
min | min(metric, time) -> metric | Calculates the minimum value of a series over a given period of time |
percentile | percentile(metric, float, time) -> metric | Calculates a percentile over a given period of time. |
stddev | stddev(metric, time) -> metric | Calculates the standard derivation over a given period of time. |
sum | sum(metric, time) -> metric | Calculates the sum of all value of a series over a given period of time |
variance | variance(metric, time) -> metric | Calculates the variance over a given period of time. |
Transformations
Functions | description | Help |
---|---|---|
abs | abs(metric) -> metric | Calculates the absolute of each element. |
add | add(metric, float) -> metric | Adds a constant to each element of the series. This is equivalent to the infix opperator + when the right argument is a number. |
add | add(metric, integer) -> metric | Adds a constant to each element of the series. This is equivalent to the infix opperator + when the right argument is a number. |
confidence | confidence(metric) -> metric | Converts the metric from the value at a given time into the confidence at a given time. This can be either applied to raw serieses or aggregates. The return value is a float between 0 and 1. |
derivate | derivate(metric) -> metric | Calculates the derivate of a series so that v(t) = v(t - 1) - v(t). As this loses one element of the series the first element v(0) and v(1) are always equal. |
divide | divide(metric, integer) -> metric | Divides each element of the series with a constant. This is equivalent to the infix opperator / when the right argument is a number. |
divide | divide(metric, float) -> metric | Divides each element of the series with a constant. This is equivalent to the infix opperator / when the right argument is a number. |
log10_scale | log10_scale(metric) -> metric | Calculates the log10 of each element. For convinience: log10_scale(0) = 0, log10_scale(-N) = - log10_scale(N). |
max | max(metric, float) -> metric | Returns the maximun of each value or a given constant. |
min | min(metric, float) -> metric | Returns the minimun of each value or a given constant. |
mul | mul(metric, float) -> metric | Multiplies each element of the series with a constant. This is equivalent to the infix opperator * when the right argument is a number. |
mul | mul(metric, integer) -> metric | Multiplies each element of the series with a constant. This is equivalent to the infix opperator * when the right argument is a number. |
sqrt_scale | sqrt_scale(metric) -> metric | Calculates the square root of each element. For convinience: sqrt_scale(0) = 0, sqrt_scale(-N) = - sqrt_scale(N). |
sub | sub(metric, float) -> metric | Subtracts a constant from each element of the series. This is equivalent to the infix opperator - when the right argument is a number. |
sub | sub(metric, integer) -> metric | Subtracts a constant from each element of the series. This is equivalent to the infix opperator - when the right argument is a number. |
Histogram
Functions | description | Help |
---|---|---|
histogram | histogram(metric, integer, integer, time) -> histogram | Converts measurement points of a timerange into a histogram. The arguments are a metric, the highest trackable value, and the significant figures (1..5). |
max | max(histogram) -> metric | Calculates the maximum value for a histogram. |
mean | mean(histogram) -> metric | Calculates the mean value for a histogram. |
median | median(histogram) -> metric | Calculates the median value for a histogram. |
min | min(histogram) -> metric | Calculates the minimum value for a histogram. |
percentile | percentile(histogram, float) -> metric | Calculates the percentile value for a histogram. |
stddev | stddev(histogram) -> metric | Calculates the standard derivation for a histogram. |
Combinators
Functions | description | Help |
---|---|---|
avg | avg(metric*) -> metric | Combines multiple series into one by calculating the average of the values for each time offset. |
diff | diff(metric*) -> metric | Combines multiple series into one by substracting the values for each time offset together. |
max | max(metric*) -> metric | Combines multiple series into one by picking the largest value of each time offset. |
product | product(metric*) -> metric | Combines producttiple series into one by multiplying the values with each time offset. |
quotient | quotient(metric*) -> metric | Combines quotienttiple series into one by deviding the values with each time offset. It should be noted that a division by zero is treated as a devision by one. |
sum | sum(metric*) -> metric | Combines multiple series into one by adding the values for each time offset together. |
Updated less than a minute ago