Apply an aggregation function to the values of a metric.
This algorithm takes as inputs the values of a metric, and apply to them one of the following aggregation functions:
Minimum: the minimum value is returned.
Maximum: the maximum value is returned.
Average: the average value is returned.
Delta: the difference between the last and the first value of the metric.
Inputs
Here is the list of inputs required by this Algorithm.
INPUTS | |
---|---|
Metric | The base metric whose values must be aggregated.
|
Function | The function used to aggregate values.
|
Outputs
Here is the list of outputs provided by this Algorithm.
OUTPUTS | |
---|---|
Aggregation Value | The value of the aggregation function calculated on the input metric values over the past 24 hours. |
Aggregation Value with Timestamp | The value of the aggregation function calculated on the input metric values over the past 24 hours. Note that, this output is valid only for
|
Insight Metric Configuration
To use this Algorithm in an Insight Metric, you need to:
Go to the Insight / Insight Metrics page.
Select the Thing Definitions tab.
Select the Thing Definition where to create the insight metric.
Click the Add Metric button.
Select the Aggregation algorithm.
Select the output for which you want to calculate the metric.