Manage and optimize usage for Observability
Learn how to understand the different charts in the Vercel dashboard, how usage relates to billing, and how to optimize your usage of Web Analytics and Speed Insights.The Observability section covers usage for Observability, Monitoring, Web Analytics, and Speed insights.
The Events chart shows the number of page views and custom events that were tracked across all of your projects. You can filter the data by Count or Projects.
Every plan has an included limit of events per month. On Pro, Pro with Web Analytics Plus, and Enterprise plans, you're billed based on the usage over the plan limit. You can see the total number of events used by your team by selecting Count in the chart.
Speed Insights and Web Analytics require scripts to do collection of data points. These scripts are loaded on the client-side and therefore may incur additional usage and costs for Data Transfer and Edge Requests.
- Your usage is based on the total number of events used across all projects within your team. You can see this number by selecting Projects in the chart, which will allow you to figure out which projects are using the most events and can therefore be optimized
- Reduce the amount of custom events they send. Users can find the most sent events in the events panel in Web Analytics
- Use beforeSend to exclude page views and events that might not be relevant
- Web Analytics Plus includes a higher limit of events per month. If you're on a Pro plan and you're consistently exceeding the limit, it may be more cost effective to upgrade to Pro with Web Analytics Plus
You are initially billed a set amount for each project on which you enable Speed Insights. Each plan includes a set number of data points. After that, you're charged a set price per unit of additional data points.
Data points are a single unit of information that represent a measurement of a specific Web Vital metric during a user's visit to your website. Data points get collected on hard navigations. See Understanding Data Points for more information.
Speed Insights and Web Analytics require scripts to do collection of data points. These scripts are loaded on the client-side and therefore may incur additional usage and costs for Data Transfer and Edge Requests.
- To reduce cost, you can change the sample rate at a project level by using the
@vercel/speed-insights
package as explained in Sample rate. You can also provide a cost limit under your team's Billing settings page to ensure no more data points are collected for the rest of the billing period once the limit has been reached - Use beforeSend to exclude page views and events that might not be relevant
- You may want to disable speed insights for projects that no longer need it. This will stop data points getting collected for a project
Monitoring has become part of Observability, and is therefore included with Observability Plus at no additional cost. If you are currently paying for Monitoring, you should migrate to Observability Plus to get access to additional product features with a longer retention period for the same base fee.
Vercel creates an event each time a request is made to your website. These events include unique parameters such as execution time and bandwidth used. For a complete list, see the visualize and group by docs.
You pay for monitoring based on the total number of events used above the included limit included in your plan. You can see this number by selecting Count in the chart.
You can also view the number of events used by each project in your team by selecting Projects in the chart. This will show you the number of events used by each project in your team, allowing you to optimize your usage.
Because events are based on the amount of requests to your site, there is no way to optimize the number of events used.
You can optimize your log drains usage by:
- Filtering by environment: You can filter logs by environment to reduce the number of logs sent to your log drain. By filtering by only your production environment you can avoid the costs of sending logs from your preview deployments
- Sampling rate: You can reduce the number of logs sent to your log drain by using a sampling rate. This will send only a percentage of logs to your log drain, reducing the number of logs sent and the cost of your log drain
Vercel creates one or many events each time a request is made to your website. To learn more, see Events.
You pay for Observability Plus based on the total number of events used above the included limit included in your plan.
The Observability chart allows you to view by the total Count, Event Type, or Projects over the selected time period.
Because events are based on the amount of requests to your site, there is no way to optimize the number of events used.
Was this helpful?