Alerts (Beta)

Alerts lets you monitor your data for interesting insights and goals. Alerts on Mammoth is designed to provide low latency alerts on metrics.

Setting up New Alert

You can create Alerts in the following manner:

  1. Create some Metrics that you’re interested in monitoring.
  2. Click on the bell icon on the top navigation bar, and create a new alert by clicking on NEW ALERT button from the Alerts Dialog.
  3. The alert is created and saved once you enter the details in the form and click SET UP ALERT.
  4. Note that only the email addresses that are a part of your Mammoth account are allowed at the moment.
  5. 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.

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.

All the alerts you have set up are displayed on the left panel on the Alerts Dialog.

Triggering Alerts

  1. All the alerts trigger on Pipeline reruns which is triggered by updating data.
  2. Clicking on the run now button on the summary panel in Alerts Dialog triggers the selected alert.
  3. Alerts are not triggered by adding a task, even if there is a change in metric value and if the condition is satisfied.
  4. Alerts are not triggered by modifying the metric expression/value.

In all above mentioned scenarios, you receive alerts only if the condition is satisfied.

Template Variables

You can include these variables in the Subject or Message field of the alert email.

  1. metric_title: This is substituted by the title of the linked metric.
  2. alert_name: This is substituted by the current alert name.
  3. 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.

Editing an Alert

  1. Open the Alerts Dialog by clicking on the bell icon.
  2. Click on the pencil button on the Summary Panel of Alerts Dialog and edit the details you wish to modify.
  3. Click Save to save the changes, or click on the back button you do not wish to save changes.