You can now use Mastra platform alerts to get real-time notifications via Slack, email, or a webhook when your deployments fail or services crash. Scope to your entire organization, a single project, or environments within a project.
Deploy failures send a notification with the error logs, then update the same message with an error diagnosis once it completes.
Service issues repeat at configurable intervals (every event, at most every 5 minutes, at most every 15 minutes, or at most every hour) until they resolve, with duplicates suppressed in between. A follow-up message will be sent to the same destinations when the service recovers, letting you know everything is OK.
Before, a failed deploy or a crashed service could go unnoticed unless you were watching the platform UI. Now, alerts arrive in your team's Slack, inbox, or own alerting tools so you and your team can take action.
We're starting today with Slack, email, and webhooks, with PagerDuty and incident.io support to follow.
Get started
Open the Mastra platform dashboard, go to your organization settings, then select Alerts. The page has three tabs:
- Alerts: View, edit, or pause configured alerts.
- Destinations: Manage Slack, email, and webhook destinations.
- Activity: History of alerts that have fired.
To create an alert: give it a name, set a trigger, add a scope, configure a destination, and pick a repeat window for how often alerts refire for the same incident.
You can edit or delete alerts at any time, and send test notifications from the dropdown menu on the Alerts or Destinations tab.
For more information and full configuration options, see:
