Alerts
Alerts are available in Beta on Enterprise plans with Observability Plus
Alerts let you know when something's wrong with your Vercel projects, like a spike in failed function invocations or unusual usage patterns. You can get these alerts through Slack or webhooks so you can jump on issues quickly.
Here's how to set up alerts for your projects:
First, head to your Vercel dashboard. Go to the Observability tab, find the Alerts tab, and click Subscribe to Alerts. Then pick if you'd like to be notified through Slack or a webhook:
-
Install the Vercel Slack integration if you haven't already.
-
Go to the Slack channel where you want alerts and run this command for alerts about usage and error anomalies:
/vercel subscribe [team/project] observability_anomaly observability_anomaly_error
The dashboard will show you the exact command for your team or project.
- Go to your Vercel dashboard, head to Observability, then Alerts.
- Click Subscribe to Alerts.
- Choose Subscribe to webhook.
- Fill out the webhook details:
- Pick which observability events to listen to
- Choose which projects to monitor
- Add your endpoint URL
You can also set this up through account webhooks, just pick the events you want under Observability Events.
You can get two types of anomaly alerts:
Alert Type | WebhookEvent | Slack Event | Description |
---|---|---|---|
Error Anomaly | observability.anomaly-error | observability_anomaly_error | Triggered by a high rate of function invocations (those with a status code of 5xx) when the error rate of your project exceeds a certain threshold |
Usage Anomaly | observability.anomaly | observability_anomaly | Triggered when the usage of your project exceeds a certain threshold |
Was this helpful?