Alerts¶
Alerts lets you monitor your data for interesting insights and goals. Mammoth Alerts are based on metrics, and notify you of your Metric goals by email.
Setting up a new Alert¶
You can create Alerts in the following manner:
Create some Metrics that you’re interested in monitoring.
Click on the bell icon on the top navigation bar, and create a new alert by clicking on NEW ALERT button.
Fill in specifics in the Alerts Dialog box.
The alert is created and saved once you enter the details in the form and click SET UP ALERT.
Note
You can create alerts for email addresses that are a part of your Mammoth account.
Alerts are directly linked to the metrics, and they are affected by any changes on the metric. If you are editing a given metric, be sure that this would affect the linked alerts as well. Also, if you’re deleting a metric, the connected alert would be automatically deleted.
Triggering Alerts¶
All the alerts you have set up are displayed on the left panel on the Alerts Dialog. If you would like to test what your alert looks like, click on the *Run Now* button on the *Alert Summary*. If the condition mentioned on the alert is satisfied, then you would receive an alert on the given email address.

Fig. 141 Running Alerts¶
Further, this is how Alerts trigger behave on data and metrics refresh:
All the alerts trigger on pipeline reruns which is triggered by updating data.
Clicking on the run now button on the summary panel in Alerts Dialog triggers the selected alert.
Alerts are not triggered by adding a task, even if there is a change in metric value and if the condition is satisfied.
Alerts are not triggered by modifying the metric expression/value.
Alerts are not triggered by applying filter in explore cards, even if there is a change in metric value.
In all above mentioned scenarios, you receive alerts only if the condition is satisfied.
Adjusting template variables¶
You can include these variables in the Subject or Message field of the alert email.
metric_title: This is substituted by the title of the linked metric.
alert_name: This is substituted by the current alert name.
metric_value: This is substituted by the value of the metric at the time of firing Alerts.
USAGE¶
Subject: {{alert_name}} is triggered!
Message: Current value of {{metric_title}} is {{metric_value}}.
Compiles to
Subject: Alert on Sum of Transactions is triggered!
Message: Current value of Sum of Transactions is 1000.