Thresholds

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.

max-threshold

Series violates the threshold when a value exceeds the maximum threshold.

[series]
  max-threshold = 60

min-threshold

Series violates the threshold when a value is below the minimum threshold.

[series]
  min-threshold = 7

threshold_percent

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

threshold_count

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

threshold_duration

Total duration of intervals within the period when series values exceeded the threshold. Note that when using threshold_duration with an alert-expression the value argument is measured in milliseconds.

[series]
  statistic = threshold_duration
  min-threshold = 10