Giter Site home page Giter Site logo

Comments (7)

edwardgou-sentry avatar edwardgou-sentry commented on June 25, 2024 2

@edwardgou-sentry I took a quick look at the linked sentry project and found multiple pageload transactions with reported web vitals. Any chance that there's a problem with the Web Vitals module?

@Lms24 Took a peek into the linked project, it looks like there are some pageload transactions, but none of them seem to have any cls, which is required to calculate performance score. I'll avoid posting screenshots since its a customer account, but you can filter by has:measurements.cls to verify this.

@pawelgalazka It might be worth updating your sdk to the latest 7.. version to see if that helps. There could be an improvement for cls capture rate in the newer versions.

from sentry-javascript.

Lms24 avatar Lms24 commented on June 25, 2024 1

@vvvhung

I'm using "@sentry/tracing": "^7.114.0" and "@sentry/vue": "^8.2.1".

You don't need to use @sentry/tracing at all anymore. Just use @sentry/vue as described here. Also, all @sentry/* SDK packages have to be aligned on the same version.

from sentry-javascript.

vvvhung avatar vvvhung commented on June 25, 2024 1

@Lms24 thanks, you are correct, I removed @sentry/tracing and the Web Vitals Page now looks ok.

from sentry-javascript.

edwardgou-sentry avatar edwardgou-sentry commented on June 25, 2024

Hi @pawelgalazka , thanks for reporting!

Pageload Web Vitals only show up if your pageload samples have a sufficient amount of data.
For example, if you are on a Chrome browser, your pageload must report at least LCP, FCP, and TTFB to be considered good enough data quality to be scored.

You can find the list of required Web Vitals by Browser here:
https://docs.sentry.io/product/performance/web-vitals/web-vitals-concepts/#browser-support

It looks like you have some LCP metrics reported, but it's possible you may be missing other web vitals.
Can you check if you have any single pageload samples containing LCP, FCP, and TTFB together? (You should be able to check this through discover or metrics)

from sentry-javascript.

pawelgalazka avatar pawelgalazka commented on June 25, 2024

Thanks @edwardgou-sentry

Makes sense 👍🏻 I suspected that could be the case, however I couldn't find anything in the docs about it. I was checking https://docs.sentry.io/platforms/javascript/guides/remix/performance/

It could be worth making this case more explicit in the docs.

from sentry-javascript.

Lms24 avatar Lms24 commented on June 25, 2024

@edwardgou-sentry I took a quick look at the linked sentry project and found multiple pageload transactions with reported web vitals. Any chance that there's a problem with the Web Vitals module?

from sentry-javascript.

vvvhung avatar vvvhung commented on June 25, 2024

In my case, the Web Vitals Page has only INP score and it shows no data for LCP, FCP, CLS, TTFB. It shows only<< unparameterized >> in the list of page there. But I can find Web Vital for the path / from the Performance -> Frontend tab-> Transaction table. I'm using "@sentry/tracing": "^7.114.0" and "@sentry/vue": "^8.2.1".

from sentry-javascript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.