The CLS metrics report does not follow options.metricOptions.reportAllChanges
See original GitHub issueIs there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which package are you using?
SDK Version
7.16.0
Framework Version
vue 3.2.33
Link to Sentry event
No response
Steps to Reproduce
- sentry init
- Check the reported transaction data and find that the
CLS
metrics is missing - After reading the code, I found that only when the page is hidden can I report
- This reportAllChanges seems meaningless
The following is the code for reporting CLS
Expected Result
CLS
metrics data reporting
Actual Result
CLS
metrics data not reporting
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
CLS is not reporting often #78 - GoogleChrome/web-vitals
I have a small issue with how often CLS is reporting: On a highly ... on Chrome report a CLS metric; whereas FID...
Read more >Core Web Vitals report - Search Console Help - Google Support
The Core Web Vitals report shows URL performance grouped by status (Poor, Need improvement, Good), metric type (CLS, FID, LCP), and URL group...
Read more >Cumulative Layout Shift (CLS) - web.dev
This post introduces the Cumulative Layout Shift (CLS) metric and explains how to measure it.
Read more >web-vitals - npm
Note: when using the reportAllChanges option, pay attention to the isFinal property of the reported metric, which will indicate whether or ...
Read more >Debugging and Optimizing Cumulative Layout Shift (CLS)
The CLS metric is calculated as the sum of all individual unexpected layout shifts between the two rendered frames.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, let’s remove it.
I think we can remove it @timfish