Skip to main content

How can I track website critical information?

Issue

I want to know how to track critical website performance in Sentry - for example Core Web Vitals - and how to add my own metrics when the defaults are not enough.

Applies To

  • All SaaS Customers

  • Tracing / Performance Monitoring

  • Web Vitals (browser JavaScript SDKs)

Resolution

Enable tracing in your browser JavaScript SDK to collect Web Vitals such as LCP, CLS, TTFB, and INP from real user traffic when supported by the browser. See browser support for details.

Review these metrics in the Web Vitals dashboard or related frontend dashboards.

For data beyond automatic Web Vitals, use span metrics / span attributes to attach custom values to traces. For counters, gauges, or distributions that shouldn't depend on trace sampling, use Application Metrics.

For an overview of what tracing enables, including dashboards, performance issues, and Trace Explorer, see Performance Monitoring.

Did this answer your question?