question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The CLS metrics report does not follow options.metricOptions.reportAllChanges

See original GitHub issue

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/vue

SDK Version

7.16.0

Framework Version

vue 3.2.33

Link to Sentry event

No response

Steps to Reproduce

  1. sentry init
  2. Check the reported transaction data and find that the CLS metrics is missing
  3. After reading the code, I found that only when the page is hidden can I report
  4. This reportAllChanges seems meaningless

image

The following is the code for reporting CLS

image image image

Expected Result

CLS metrics data reporting

Actual Result

CLS metrics data not reporting

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
k-fishcommented, Dec 6, 2022

Yep, let’s remove it.

1reaction
AbhiPrasadcommented, Dec 5, 2022

I think we can remove it @timfish

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found