-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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): reparent ssr spans under pageload txn and under browser request span #74675
Conversation
…r spans if present feat(trace): reparent ssr txns under pageload and browser request spans
/** | ||
* Swaps the two nodes in the graph. | ||
*/ | ||
function childParentSwap({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit more annoying than I would like. Tldr, but because the child nodes keep a reference to the parent, it means we need to filter out the children part of the tree so that we dont end up with circular references.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #74675 +/- ##
===========================================
- Coverage 88.33% 78.13% -10.20%
===========================================
Files 2930 6729 +3799
Lines 182485 299941 +117456
Branches 32513 51583 +19070
===========================================
+ Hits 161201 234371 +73170
- Misses 15371 59252 +43881
- Partials 5913 6318 +405
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! All of my comments are non-blocking.
Implements required changes for getsentry/rfcs#138