Menu
Urgent
React2Shell security update

Speed Insights Drains Reference

Last updated September 24, 2025

Speed Insights Drains send performance metrics and web vitals from your applications to external endpoints for storage and analysis. To enable Speed Insights Drains, create a drain and choose the Speed Insights data type.

Vercel sends Speed Insights data to endpoint URLs over HTTPS when your application collects performance metrics.

The following table describes the possible fields that are sent via Speed Insights Drains:

NameTypeDescriptionExample
stringSchema version identifier
stringISO timestamp when the metric was collected
stringIdentifier for the Vercel project
stringIdentifier for the project owner
numberUnique device identifier12345
stringType of performance metric, , , , ,
numberMetric value0.1
stringOrigin URL where the metric was collected
stringURL path where the metric was collected
stringRoute pattern for the page
stringCountry code of the user
stringRegion code of the user
stringCity of the user
stringOperating system name
stringOperating system version
stringClient browser name
stringType of client
stringClient browser version
stringType of device
stringDevice brand
stringNetwork connection speed
stringBrowser engine name
stringBrowser engine version
stringSpeed Insights script version
stringSDK version used to collect metrics
stringSDK name used to collect metrics
stringVercel environment
stringVercel deployment URL
stringIdentifier for the Vercel deployment
stringAttribution information for the metric

Vercel supports the following formats for Speed Insights Drains. You can configure the format when configuring the Drain destination:

Vercel sends Speed Insights data as JSON arrays containing metric objects:

Vercel sends Speed Insights data as newline-delimited JSON objects:

When you configure a Speed Insights Drain in the Vercel UI, you can set the sampling rate to control the volume of data sent. This helps manage costs when you have high traffic volumes.

For more information on Speed Insights Drains and how to use them, check out the following resources:


Was this helpful?

supported.