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, a webhook, or email 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 how you'd like to be notified:

  1. Install the Vercel Slack integration if you haven't already.

  2. 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.

  1. Go to your Vercel dashboard, head to Observability, then Alerts.
  2. Click Subscribe to Alerts.
  3. Choose Subscribe to webhook.
  4. 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.

In addition to Slack and webhook, you can also subscribe to alert about anomalies through the standard Vercel notifications, which will notify you through either email or the Vercel dashboard.

To enable notifications:

  1. Go to your Vercel dashboard, head to Observability, then Alerts.
  2. Click Subscribe to Alerts.
  3. Click Manage next to Vercel Notifications.
  4. Select which alert you'd like to receive to each of the notification channels.

You can configure your notification preferences in your Vercel dashboard.

You can get two types of anomaly alerts:

Alert TypeWebhookEventSlack EventDescription
Error Anomalyobservability.anomaly-errorobservability_anomaly_errorTriggered when a high rate of failed function invocations (those with a status code of 5xx) in your project exceeds a certain threshold
Usage Anomalyobservability.anomalyobservability_anomalyTriggered when the usage of your project exceeds a certain threshold

Was this helpful?