# Alerts

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 by email, through Slack, or set up a webhook so you can jump on issues quickly.

By default, you'll be notified about:

- **Usage anomaly**: When your project's usage exceeds abnormal levels.
- **Error anomaly**: When your project's error rate of function invocations (those with a status code of 5xx) exceeds abnormal levels.

## Alert types

| Alert Type        | Triggered when                                                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **Error Anomaly** | Fires when your 5-minute error rate (5xx) is more than 4 standard deviations above your 24-hour average and exceeds the minimum threshold. |
| **Usage Anomaly** | Fires when your 5-minute usage is more than 4 standard deviations above your 24-hour average and exceeds the minimum threshold.            |

## Configure alerts

Here's how to configure alerts for your projects:

1. First, head to your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fobservability%2Falerts).
2. Go to the **Observability** tab, find the **Alerts** tab, and click **Subscribe to Alerts**.
3. Then, pick how you'd like to be notified: [Email](#vercel-notifications), [Slack](#slack-integration), or [Webhook](#webhook).

### Vercel Notifications

You can subscribe to alerts about anomalies through the standard [Vercel notifications](/docs/notifications), which will notify you through either email or the Vercel dashboard.

By default, users with team owner roles will receive notifications.

To enable notifications:

1. Go to your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fobservability%2Falerts), 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 own** notification preferences in your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fsettings%2Fnotifications\&title=Manage+Notifications). You cannot configure notification preferences for other users.

### Slack integration

You'll need the correct permissions in your Slack workspace to install the Slack integration.

1. Install the Vercel [Slack integration](https://vercel.com/integrations/slack) 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:

   ```bash
   /vercel subscribe [team/project] alerts
   ```

   The dashboard will show you the exact command for your team or project.

### Webhook

With webhooks, you can send alerts to any destination.

1. Go to your [Vercel dashboard](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fobservability%2Falerts), head to **Observability**, then **Alerts**.
2. Click **Subscribe to Alerts**.
3. Choose **Webhook**.
4. Fill out the webhook details:
   - Choose which projects to monitor
   - Add your endpoint URL

You can also set this up through [account webhooks](/docs/webhooks#account-webhooks), just pick the events you want under **Observability Events**.

#### Webhooks payload

To learn more about the webhook payload, see the [Webhooks API Reference](/docs/webhooks/webhooks-api):

- [Alerts triggered](/docs/webhooks/webhooks-api#alerts.triggered)


--------------------------------------------------------------------------------
title: "Tracking custom events"
description: "Learn how to send custom analytics events from your application."
last_updated: "2026-02-03T02:58:36.608Z"
source: "https://vercel.com/docs/analytics/custom-events"
--------------------------------------------------------------------------------