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

Navigation timing end events coming before start events #321

Open
scottgifford opened this issue Apr 26, 2021 · 5 comments
Open

Navigation timing end events coming before start events #321

scottgifford opened this issue Apr 26, 2021 · 5 comments

Comments

@scottgifford
Copy link

Hello,

I am seeing a small but consistent number of metrics recorded by Boomerang where the ending timestamp comes before the starting timestamp, which is triggering an error when processing these later. For more details see boomerang-negative-duration-20210416.txt

I was wondering if other people saw this too, and if there is anything to be done about it besides ignore these metrics?

I'm seeing this in a wide variety of browsers, many of which are old but some of which are newer (Firefox 88, Safari 13.1.2).

Thanks for any thoughts!

----Scott.

@bluesmoon
Copy link
Member

bluesmoon commented Apr 27, 2021 via email

@scottgifford
Copy link
Author

Hm no, any advice on how to rule those out?

@bluesmoon
Copy link
Member

bluesmoon commented Apr 27, 2021 via email

@scottgifford
Copy link
Author

I took a look at some of the data. The requests we are getting from the client line up with the request IDs we generated on our backend (effectively the nonce suggested by the above link); I do not see any wrong Referers (most are correct and a few are blank); and the other data fields for those requests seem normal. So it does not seem likely they are completely bogus beacons.

@nicjansma
Copy link

nicjansma commented May 22, 2021

@scottgifford we've seen a lot of issues in the past (especially with older browsers) where timestamps just didn't make sense. Some of those have bugs filed and are recorded here:

https://nicj.net/navigationtiming-in-practice/#navtiming-browser-bugs

I suggest in that "If you’re analyzing NavigationTiming data, you should ensure that all timestamps increment according to the timeline. If not, you should probably question all of the timestamps and discard.", which is more-or-less what we do with data coming into mPulse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants