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

feat(tracing): Add more network timings to http calls #8540

Merged
merged 6 commits into from
Jul 17, 2023

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Jul 14, 2023

Summary

There are enough now that we'll have to hide some in the UI, but we should be collecting all of these so we can better determine reasons for initial request delay.

There are enough now that we'll have to hide some in the UI, but we should be collecting all of these so we can better determine reasons for initial request delay.
@k-fish k-fish requested review from a team, lforst and AbhiPrasad and removed request for a team July 14, 2023 15:55
@github-actions
Copy link
Contributor

github-actions bot commented Jul 14, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.95 KB (+0.01% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 69.13 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.28 KB (-0.01% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 60.38 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 21.9 KB (0%)
@sentry/browser - Webpack (minified) 71.51 KB (0%)
@sentry/react - Webpack (gzipped + minified) 21.92 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 50.69 KB (+0.22% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 30.22 KB (+0.37% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28.25 KB (+0.34% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 49.44 KB (+0.04% 🔺)
@sentry/replay - Webpack (gzipped + minified) 43.16 KB (+0.15% 🔺)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.61 KB (+0.16% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.83 KB (+0.03% 🔺)

['http.request.fetch_start', resourceTiming.fetchStart],
['http.request.domain_lookup_start', resourceTiming.domainLookupStart],
['http.request.domain_lookup_end', resourceTiming.domainLookupEnd],
['http.request.connect_start', resourceTiming.connectStart],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be clear, is it on purpose that we changed this from:

(browserPerformanceTimeOrigin + resourceTiming.connectStart) / 1000

to just

resourceTiming.connectStart

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did intentionally do that, but I'm still trying to figure whether it makes more sense to align against browserTimingOrigin or just record the the values as is and change the representation internally. Mostly since I've seen these reported values be less than the wrapping span startTime so something isn't adding up.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually after thinking about it some more, I'm changing it back. Absolute time makes the most sense I think it's up to the sdk to provide time normalized against span start/end time not a representation concern.

@AbhiPrasad AbhiPrasad merged commit e6cc124 into develop Jul 17, 2023
@AbhiPrasad AbhiPrasad deleted the feat/tracing-add-more-network-timings branch July 17, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants