Skip to content

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

@ys-zhifu

Description

@ys-zhifu

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions