The SDK should emit `browser.web_vital.*` metrics directly. They are already being double-written by Relay.<br><br>[Per the RFC](<https://github.com/getsentry/rfcs/blob/main/text/0158-web-vitals-as-trace-metrics.md>), web vitals becomes an opt-in option and users need to select their telemetry choice: * a metrics integration (what the docs lead with). * a legacy span integration. **What the metrics path needs:** * LCP, CLS, INP, FCP and TTFB as distribution metrics (millisecond, except CLS which uses none). * Names and attributes from the [ATTRIBUTES.md](<https://github.com/logaretm/web-vitals-metrics-emit/blob/main/ATTRIBUTES.md>) reference, so native metrics match the ones Relay derives from spans. * `sentry.origin` set to `auto.http.browser.{vital}`, no `sentry.metric.source`. * Metric names added to sentry-conventions, which today only has the attributes. * Relay to compute the score for the metrics, tracked by [https://github.com/getsentry/relay/issues/6781](<https://github.com/getsentry/relay/issues/6781>) This could be released as an experimental integration for v11, and in v12 we can swap the telemetry types around, or we go straight for v12 with this.
Activity
linear-code commentedon Nov 27, 2026
JS-4177