-
Notifications
You must be signed in to change notification settings - Fork 821
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
Why is it that sometimes the time of each documentLoad‘s span is not the time of the Trigger Event(eg: Date.now()), It is based on the time calculated by performance.timeOrigin #3339
Comments
Would you mind sharing the setup you are using to produce the trace results? Specifically, what instrumentation you have enabled to generate the trace? |
Would you mind sharing the version of the SDK you are using? 5818129 should have fixed this kind of issue. Would you mind verifying with the latest version of SDK? |
tks, The following is the version information of the dependent package. I think I have the same problem as others 3320, 3279 the browser time problem fixed? At present, xhr, fetch, and documentLoad plugin have the same time problem because they all rely on performance.timeOrigin, From the exported data, it can be seen that the endTimeUnixNano time is wrong, which is always less than the startTimeUnixNano time. My browser has not been closed, which will lead to performance in the past. |
What's the progress on this issue |
PR is merged and waiting on a release. Closing this since there are already multiple issues open which deal with it |
in browser, I observed the exported data and found that the request params startTimeUnixNano or endTimeUnixNano of the documentload event was converted to seconds later and Date.Now() is not equal. I don't know whether it is a normal phenomenon. I think that the correct time should be the time of the event;
Take a look at this screenshot, occasionally, endTimeUnixNano is smaller than startTimeUnixNano
The text was updated successfully, but these errors were encountered: