Guides
Alerting
Set up alerts to get notified when your checks fail.
Overview
SupaGuard's alerting system notifies you when:
- A check fails
- A check recovers after failure
- A check has been failing for an extended period
Alert Policies
Alert policies define how and when you receive notifications.
Creating an Alert Policy
- Navigate to Alert Policies in your dashboard
- Click Create Policy
- Configure the policy settings
Policy Settings
| Setting | Description |
|---|---|
| Name | A descriptive name for the policy |
| Channels | Where to send notifications |
| Trigger | When to send alerts (immediate, after N failures) |
| Recovery | Notify when check recovers |
Alert Channels
SupaGuard supports multiple notification channels:
Send alerts to one or more email addresses.
{
"type": "email",
"recipients": ["alerts@example.com", "team@example.com"]
}Slack
Send alerts to a Slack channel via webhook.
- Create an Incoming Webhook in Slack
- Add the webhook URL to SupaGuard
- Choose the channel and message format
Webhooks
Send alerts to any HTTP endpoint.
{
"type": "webhook",
"url": "https://your-service.com/alerts",
"headers": {
"Authorization": "Bearer your-token"
}
}Best Practices
- Use meaningful names - Make it easy to identify which alert fired
- Avoid alert fatigue - Set appropriate thresholds before alerting
- Test your channels - Send test notifications before going live
- Set up escalation - Have a backup channel for critical alerts