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): reparent ssr spans under pageload txn and under browser request span #74675

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Jul 22, 2024

Implements required changes for getsentry/rfcs#138

…r spans if present

feat(trace): reparent ssr txns under pageload and browser request spans
@JonasBa JonasBa requested a review from Abdkhan14 July 22, 2024 21:10
@JonasBa JonasBa requested a review from a team as a code owner July 22, 2024 21:10
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 22, 2024
/**
* Swaps the two nodes in the graph.
*/
function childParentSwap({
Copy link
Member Author

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.

Copy link

codecov bot commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 94.73684% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.13%. Comparing base (e6f9381) to head (bcc567f).
Report is 70 commits behind head on master.

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     
Files Coverage Δ
...formance/newTraceDetails/traceModels/traceTree.tsx 71.26% <94.73%> (ø)

... and 3798 files with indirect coverage changes

@lforst lforst self-requested a review July 23, 2024 10:56
Copy link
Member

@lforst lforst left a 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.

@JonasBa JonasBa merged commit 26e6464 into master Jul 23, 2024
43 checks passed
@JonasBa JonasBa deleted the jb/trace/ssr-adjustment branch July 23, 2024 16:29
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants