You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without any interaction, wait for the monitoring to complete the report.
Go to the Sentry backend Web Vitals to view the corresponding page events, and find that the LCP metric is missing.
Repeat the above steps, but click on the page before the report is completed, and thus you can obtain the LCP metric.
Expected Result
Whether or not the user interacts with the page, the LCP (Largest Contentful Paint) can be collected.
Actual Result
The LCP (Largest Contentful Paint) can only be collected if the user interacts with the page before the report, resulting in a widespread absence of the LCP metric and consequently causing the average LCP to be less than the FCP (First Contentful Paint).
The text was updated successfully, but these errors were encountered:
do we have plans to move web-vitals collection to a model that allows "out-of-span" collection?
Yes we'll be tackling this after we release the new major version of the SDK, v8. This will allow us to support INP, and send web vitals like LCP outside of a typical transaction.
Important to note, we also have a metrics product in alpha that might help with this! #9938
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.80.1
Framework Version
17.0.2
Link to Sentry event
https://international-smart-card.sentry.io/performance/browser/pageloads/overview/?environment=LOCAL&project=4506075654782976&statsPeriod=7d&transaction=%2Fsupport
SDK Setup
Steps to Reproduce
Expected Result
Whether or not the user interacts with the page, the LCP (Largest Contentful Paint) can be collected.
Actual Result
The LCP (Largest Contentful Paint) can only be collected if the user interacts with the page before the report, resulting in a widespread absence of the LCP metric and consequently causing the average LCP to be less than the FCP (First Contentful Paint).
The text was updated successfully, but these errors were encountered: