Set Up Alerts

Learn how to set up alerts in Spotflow to get notified when something happens in your embedded device fleet.

Create Alert Rule

Create your alert rule by clicking + Create Alert Rule on the Alert Rules page.

Create Alert Rule.

Select Alert Type

Choose how you want to define the condition that will trigger the alert. There are two types:

  • Threshold: Alert when a metric crosses a fixed threshold value.
    • Example: CPU Usage above 90%.
  • Percentual Change: Alert when a metric changes by a percentage over time.
    • Example: Battery voltage drops by 20%.
Select Alert Type.

Define Alert Condition and Intervals

In the query builder, define the query that selects the relevant metric data and set the threshold, evaluation interval, and evaluation window for the alert rule.

If you want to be notified when a device goes offline or fails to report a specific metric, you can also set the alert to trigger when no data is received.

Define Alert Condition.

Define Alert Notification Targets

Specify a descriptive name for the alert rule and create a new notification target that should receive the alert notifications. Add any email addresses that should receive the notifications and save the alert rule.

Alert notifications are sent immediately when an alert is triggered and also when the alert is resolved.

Define Alert Notification Target.

If you wish to use a different notification method, please open a Feature request or let us know via email hello@spotflow.io or our Discord. We will be happy to work with you to incorporate necessary changes to the platform or find other suitable solution.

See Evaluations and Alerts

After creating the alert rule, you can see the last evaluations of the rule.

Alert rule detail.

On the Alerts page, you can see the history of triggered alerts.

Alert history.

You can also click on an individual alert to see more details about it.

Alert detail.

Learn more

How is this guide?