Skip to main content
Try in Colab Notebook → Using Rebase Alerts, you can be notified via email or Slack based on data validators, pipeline crashes or other custom triggers. An alert is sent as:

Using rebase.alert()

string
required
A short description of the alert, for example “Data out of bounds”.
string
required
A longer, more detailed description of why the alert got triggered.
AlertLevel
A flag specifying how important the alert is. Must be one of AlertLevel.INFO, AlertLevel.WARNING, or AlertLevel.ERROR. AlertLevelis imported from rebase.
integer
default:300
Number of seconds to add as buffer time between two alerts with the same title. This allows to reduce alert spam.

Example

This is a simple example of an alert that is created when the production falls below 80% of the theoretical production. In order to avoid alert spam, we set the
rebase.alert()