Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Vitals displays unstable metric data #86667

Open
maxming2333 opened this issue Mar 10, 2025 · 2 comments
Open

Web Vitals displays unstable metric data #86667

maxming2333 opened this issue Mar 10, 2025 · 2 comments

Comments

@maxming2333
Copy link

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

Question 1:

  1. Enter Insights -> Frontend -> Web Vitals, select the project and a absolute date, such as the absolute date area of ​​the previous month
  2. And then the LCP and FCP data will be displayed.
  3. However, if you refresh the page, or click on the FCP detailed data to view, the LCP and FCP data of the page will change dynamically, and you can finally see that the FCP and LCP data statistics are very unstable.
Image

Our team cares more about the real data of FCP and LCP, because some of our optimization data need to be compared through sentry, but if this statistical data is unstable, it will lead to misjudgment.

When any conditions remain unchanged, if the interface is just requested repeatedly, different data will appear. This interface is not idempotent and will lead to many problems. I hope it can be solved


Question 2:
In addition, there is a strange phenomenon in one of my projects. FCP data is larger than LCP data, which is not possible normally.

Image

Expected Result

Web Vitals results are stable and unchanged

Actual Result

With the same conditions, Web Vitals results will change continuously

Product Area

Performance

Link

No response

DSN

No response

Version

25.2.0.dev0

@getsantry
Copy link
Contributor

getsantry bot commented Mar 10, 2025

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Mar 10, 2025

Routing to @getsentry/product-owners-performance for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

2 participants