The definition of an Alarm provides the rules that govern when a state transition should occur, and the actions to be taken there on. The nature of these rules depend on the alarm type.
Threshold rule alarms
For conventional threshold-oriented alarms, state transitions are governed by:
- A static threshold value with a comparison operator such as greater than or less than.
- A statistic selection to aggregate the data.
- A sliding time window to indicate how far back into the recent past you want to look.
Valid threshold alarms are:gnocchi_resources_threshold_rule, gnocchi_aggregation_by_metrics_threshold_rule, or gnocchi_aggregation_by_resources_threshold_rule.