Overview of web-vitals metrics
developThe web-vitals utility is a modular library used to measure Core Web Vitals on real users. It is vendored from the Google Chrome web-vitals library and is specifically designed to work with the @sentry/browser browserTracingIntegration.
Note that this version has been modified to report metrics only once per page load, and logic regarding BFCache and multiple reports has been removed to ensure compatibility with Sentry's tracing.