Threshold aggregators calculate the amount of time or number of occurrences a metric violates a user-defined threshold. The threshold can be defined as an upper boundary, a lower boundary, or both.
Series violates the threshold when a value exceeds the maximum threshold.
[series] max-threshold = 60
Series violates the threshold when a value is below the minimum threshold.
[series] min-threshold = 7
Percentage of time within the period when series values do not exceed the threshold. Computed as the sum of violation intervals divided by the period duration.
[series] statistic = threshold_percent max-threshold = 10
Number of sequences within the period when the series values exceeded the threshold. Consecutive observations violating the threshold are treated as a single sequence.
[series] statistic = threshold_count max-threshold = 5
Total duration of intervals within the period when series values exceeded the threshold. Note that when using
threshold_duration with an
value argument is measured in milliseconds.
[series] statistic = threshold_duration min-threshold = 10