Alert rules¶
Alerts are expressed by a sequence of queries and expressions that are executed periodically. When the last expression returns a non-zero value, the alert is triggered and notification actions are performed.
Usually, an alert rule consists of:
Query to retrieve the data points,
Reduce the query into single value
Check the single value against a threshold
Optional additional information attached to the alert
Contact points¶
Contact points define the destinations that the alerts are sent. You can configure various types contact points according to your needs. Common contact point types are email, slack, webhook, telegram, etc.
The following screencast shows creating an email contact point.
Notification policies¶
Once you have alerts and contact points, you can configure notification policies to define which alerts are sent to which contact points. In the following screencast, the alert is matched via its name, and its contact point is set to the test email.