Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Superset v4 Alert and Report

Now we can send alert and report from superset to slack or email

How to set Superset Report

Via Dashboard menu

  1. Add the superset bot on the channel

  1. Open the superset https://superset-v2.hungryhub.com/
  2. Open menu Dashboard
  3. Pick the Dashboard that you want
  4. Go to more icon button, pick set up an email report menu

  1. Set the report settings

  1. Click "ADD" button
  2. Go to Setting menu → Alerts & Reports

  1. Pick your new report setting → click the pencil icon to edit

  1. Go to the notification method
  2. Change the notification method from email to slack,

  1. Pick your channel name on slack recipients (if the superset bot is not installed it will not send the alert to that channel)
  2. Save the changes
  3. It should send the report like this

Via Chart menu

  1. Add the superset bot on the channel

  1. Open the superset https://superset-v2.hungryhub.com/
  2. Open menu Chart
  3. Pick the Chart that you want
  4. Go to more icon button, pick set up an email report menu

  1. Set the report settings

  1. Click the "ADD" button
  2. Go to Setting menu → Alerts & Reports

  1. Pick your new report setting → click the icon to edit

  1. Go to the notification method
  2. Change the notification method from email to slack,

  1. Pick your channel name on slack recipients (if the superset bot is not installed it will not send the alert to that channel)
  2. Save the changes
  3. It should send the report like this

Via Alerts & Reports menu

  1. Add the superset bot on the channel

  1. Open the superset https://superset-v2.hungryhub.com/
  2. Open menu SettingsAlerts & Reports
  3. Pick the report menu → click the +REPORT button

  1. Add the general information (report name and the owners)

  1. Input the Report Contents

  1. You can pick the content type based on the dashboard or the chart.

  2. Select the dashboard or the chart

  3. Pick the content format (PDF, CSV, PNG)

  4. Input the Schedule

  1. Input the Notification method

  1. Pick the notification method
  2. Add the email or slack recipients
  3. You can add both of the notification method by clicking the "+ Add another notification method"
  4. If you pick email on notification method, you should list all the email on email recipients

  1. Click ADD

How to set Superset Alert

Via Alerts & Reports menu

  1. Add the superset bot on the channel

  1. Open the superset https://superset-v2.hungryhub.com/
  2. Open menu SettingsAlerts & Reports
  3. Pick the alert menu → click the +ALERT button

  1. Add the general information (alert name and the owners)

  1. Input the Alert Condition

Add query condition to trigger the alert (i used trigger when the reservation data count larger or equal to 7662220, it will send alert to the slack account)

  1. Input the Alert Contents

  1. You can pick the content type based on the dashboard or the chart.

  2. Select the dashboard or the chart

  3. Pick the content format (PDF, PNG)

  4. Input the Schedule

Grace period = is a time period to delay the same alert send more than once. If you let it blank it will automatically set the grace period to 14400 seconds or 240 minutes.

  1. Input the Notification method

  1. Pick the notification method
  2. Add the email or slack recipients
  3. You can add both of the notification method by clicking the "+ Add another notification method"
  4. If you pick email on notification method, you should list all the email on email recipients

  1. Click ADD
  2. It should send the alert like this

Superset Error message meaning

Alert fired during grace period

This is not an error. Rather, it is a grace period rule designed to prevent duplicate or frequent submissions when the same conditions still exist.

When the grace period is set to 14,400 seconds (240 minutes), an alert with the same value triggered during the 240-minute delay period will be considered an alert fired during the grace period. The alert will be sent again after the grace period ends.