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

Get rid of third party dependency to GoogleChrome/web-vitals #206

Open
ekremney opened this issue Jun 13, 2024 · 0 comments
Open

Get rid of third party dependency to GoogleChrome/web-vitals #206

ekremney opened this issue Jun 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ekremney
Copy link
Member

Is your feature request related to a problem? Please describe.
Yes, the current dependency on the third-party library GoogleChrome/web-vitals for CWV collection introduces an unnecessary external dependency.

Describe the solution you'd like
Move the CWV collection logic from GoogleChrome/web-vitals to an inlined rum-enhancer. The data collection logic for CWV metrics will remain unchanged, ensuring consistency.

Additional context
The solution provided should ensure that CWV metrics like TTFB, FCP, LCP, CLS, and INP are collected consistently using the Performance API. However, note that CWV data collection is not possible on iOS devices due to limited support of the Performance API in Safari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant