Comments (4)
I'm not familiar with how reporting in New Relic works, but is it possible that the expression window.newrelic.setCustomAttribute(event, value);
is running after your New Relic JS code is sending data to its servers? That would certainly explain why you're not seeing values in some cases. (E.g. if New Relic is sending data in the load
event, but first input happens after load.)
But I realized that a few times the events are not being fired at all or with no value attached.
Can you get me an example of what you mean by "no value attached"? Do you mean a value of zero? Do you mean a value of null
/ undefined
, do you mean the value
property does not exist on the reported object?
The way the library is built, it might be possible that a zero value is reported (this is common in the case of CLS), but a null
, undefined
or non-existent value should never be reported.
The Google Chrome extension shows really different numbers for the same page.
Again, can you give me an example? And are you talking about a difference in the number being reported to New Relic or the numbers be logged to the console by the web-vitals
library? If it's the numbers being reported to New Relic then I suspect it's an issue with how you're using their library (see my first paragraph).
from web-vitals.
The first item was already fixed! thanks!
Now about the Google Chrome extension, if you load any page at different times you will get quite a few different results.
from web-vitals.
The first item was already fixed! thanks!
Great!
Now about the Google Chrome extension, if you load any page at different times you will get quite a few different results.
Please file issues with the extension against that repo: https://github.com/GoogleChrome/web-vitals-extension/
from web-vitals.
👍
from web-vitals.
Related Issues (20)
- Webpack Module is undefined HOT 2
- iOS Chrome Support HOT 1
- differences in TTFB in safari vs chromium based browsers HOT 1
- LCP value setting to 0 intermittently HOT 7
- Add INP breakdown entries to the attribution build HOT 3
- User consent policy HOT 1
- Firefox LCP tests failing
- Bug: LCP attribution can include `resourceLoadDelay` attribution timings far greater than the LCP value in cases where `onTTFB` discards the navigation data HOT 1
- FCP and TTFB are triggered multiple times HOT 7
- contributing LoAF basesd code that idenifies LoAF, INF and JS long tasks data HOT 1
- Capturing metadata with events HOT 2
- Allow to reset the INP calculation HOT 2
- v4 giving undefined TypeError HOT 1
- INP: Probably a bad measurement metric for web vitals - even with simple HTML structure pages with no CSS will cause bad value. HOT 1
- Expose INP target element as first class citizen in attribution HOT 2
- Expose ability to reset internal state of metrics (specifically INP) HOT 2
- v4 INP attribution ending processingEnd time in the wrong animation frame HOT 8
- CDN JS - Web server is returning an unknown error HOT 4
- CLS and INP are being calculated incorrectly HOT 2
- Suggestion to track all attributions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-vitals.