How to get Core Web Vital data to show up? I think I need to enable a specific client integration #8883
-
In the sandbox demo (https://try.sentry-demo.com/organizations/poetic-redbird/performance/summary/vitals/?project=29719&transaction=%2Fproductstore) we have this lovely view of the Core Web Vitals: But in our account it looks a bit sadder: Even before we ran out of performance credits it looked empty. We are using the Next.js SDK and I can share the config later on, but before I do that is there any setting I need to turn on for CWV support, or should it just work? I thought it would just work because https://docs.sentry.io/platforms/javascript/guides/nextjs/performance says:
But… I did play around with some of the Sentry client integrations to try and get a smaller bundle size (doing this sort of thing) so now I wonder if there's a specific integration that I need to re-enable? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
In your screenshot you can read "You have exceeded your performance unit and replay limit. We are dropping any excess events until Sep 4, 2023." on top of the page. Since web vitals are part of performance units (transactions) you will not be able to collect this data. Additionally, if you disable tracing (e.g. by tree shaking the performance part of the SDK which is doing this sort of thing) you will also not collect web vitals data. |
Beta Was this translation helpful? Give feedback.
-
I have an onprem setup which is also not getting any Web Vitals data - it does seem to record other performance data just fine though. I have gone over the documentation several times and verified that we have set it up correctly. Here is our client config:
Sorry if I missed it, but is this functionality only available for the SaaS offering? |
Beta Was this translation helpful? Give feedback.
In your screenshot you can read "You have exceeded your performance unit and replay limit. We are dropping any excess events until Sep 4, 2023." on top of the page. Since web vitals are part of performance units (transactions) you will not be able to collect this data.
Additionally, if you disable tracing (e.g. by tree shaking the performance part of the SDK which is doing this sort of thing) you will also not collect web vitals data.