title | redirect_from | ||
---|---|---|---|
Alerts |
|
Set up an alert to send the results of questions to people via email or Slack, or to a webhook.
Alerts are for questions only. If you instead want to get the results of a dashboard sent to you, check out dashboard subscriptions.
To start using alerts, an administrator will need to have set up at least one of the following notification channels.
To create an alert:
You'll also have the option to only send the alert once. To test the alert, you can hit the Send now button. But just make sure that the question returns results. If the question doesn't return any results, Metabase won't send the alert.
Metabase can send you an alert on a schedule when one of your questions returns any result. This kind of alert is also particularly useful if you have a question that doesn't usually return any results, but you want to know when the question does return results.
For example, you might have a table called Reviews
, and you want to know any time a customer leaves a bad review, which you consider to be anything below three stars. To set up an alert for this situation, you'd go and create a raw data question (i.e., a question that returns a list of reviews), and add a filter to only include results with fewer than three stars.
You probably don't want to be alerted about all the bad reviews you've ever gotten, but just recent ones. So you can add a filter to only include results from yesterday or today, depending on how often you want to check for these bad reviews. At this point, when you check the results of this question, it probably won't return any results, which is a good thing.
Save the question, create an alert, and select how often you want Metabase to check this question for results. That's it!
Requires a bar, line, or area chart with a goal line.
Goal line alerts are useful when you're doing things like tracking daily active users (DAU) and you want to know when you reach a certain number of DAU, or when you're tracking orders per week and you want to know whenever the number of orders ever goes below a certain threshold.
To start, you'll need a line, area, or bar chart displaying a number over time.
Next, you need to set up a goal line on your chart. Open up the visualization settings by clicking the gear icon in the bottom-left. Then click on the Display tab, and turn on the Show goal setting. Choose a value for your goal (and optionally a label) and click Done.
You can choose:
Click Done, and your alert will be all set up!
If you need to edit or unsubscribe from the alert you set up, just click that same icon. You'll see the Edit and Unsubscribe buttons. This is also where you'll see alerts about this question that admins might have added you to.
Metabase will email you when:
Requires the progress bar visualization.
If you want to set up an alert when a single number reaches a goal, you can use a progress bar visualization.
You'll see the options for when you want to get alerts about this progress bar:
To edit or delete alerts on a question, click on the Sharing icon in the top right corner. What you can edit depends on whether you're an admin.
Everyone:
Admins:
Once you set up an alert to a Slack channel, avoid changing the name of that channel in Slack. If you rename the channel in Slack, but you want Metabase to continue to send alerts to that renamed channel, you'll need to update the alert in Metabase to point to the new channel name.
Some circumstances will automatically change or delete alerts:
Alerts will continue to work even if the person who set up the alert no longer has an active account. For example, if an alert with multiple recipients (or to a Slack channel) was set up by someone whose account has since been deactivated, that alert will continue to work (though Metabase will stop sending the alerts to the deactivated account).
{% include plans-blockquote.html feature="Usage analytics" %}
Admins can view a list of all alerts and dashboard subscriptions that people have set up in your Metabase in the Usage analytics collection. See Usage analytics.
See Sending alerts and subscriptions to private Slack channels.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )