-
Notifications
You must be signed in to change notification settings - Fork 162
✨ [RUM-10146] implement trackEarlyRequests
#3846
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
Conversation
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage 🔗 Commit SHA: b4ff364 | Docs | Was this helpful? Give us feedback! |
cb96ffd
to
462a6e9
Compare
462a6e9
to
b4ff364
Compare
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
/to-staging |
View all feedbacks in Devflow UI.
Commit b4ff364e61 will soon be integrated into staging-38.
We couldn't automatically merge the commit b4ff364e61 into staging-38! To solve the conflicts directly in Github, click here to create a fix pull request. Alternatively, you can also click here reset the integration branch or use the following Slack command: |
🚂 Branch Integration: starting soon, merge expected in approximately 11m (p90) Commit b4ff364e61 will soon be integrated into staging-38. |
🚂 Branch Integration Commit b4ff364e61 has been merged into staging-38 in merge commit 9815549155. Check out the triggered pipeline on Gitlab 🦊 If you need to revert this integration, you can use the following command: |
Motivation
This PR introduces a new initialization parameter to opt-in tracking "early requests", i.e. fetch and XHR resources that happen before the SDK is initialized.
This will be the default behavior in the next major version, but until then this feature is opt-in, because it could introduce a (very small) breaking change: when using
beforeSend
, properties associated to the request can now be undefined. Ex:Changes
Replace the "experimental flag"
track_early_requests
with a public init parametertrackEarlyRequests
.Test instructions
In the sandbox:
The request
/zog
should be collected as a RUM resource.Checklist