-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Return transaction for Sentry.getSpan when global hub mode is enabled #2855
Conversation
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
015f93f | 314.22 ms | 348.98 ms | 34.75 ms |
bfee4ed | 342.45 ms | 369.92 ms | 27.47 ms |
e9072f6 | 295.55 ms | 371.12 ms | 75.57 ms |
3d502fb | 316.02 ms | 358.81 ms | 42.79 ms |
6cd0641 | 312.44 ms | 359.16 ms | 46.72 ms |
9ef1fa6 | 324.19 ms | 374.00 ms | 49.81 ms |
e068d53 | 307.73 ms | 340.84 ms | 33.11 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
015f93f | 1.72 MiB | 2.26 MiB | 547.97 KiB |
bfee4ed | 1.72 MiB | 2.29 MiB | 575.30 KiB |
e9072f6 | 1.72 MiB | 2.29 MiB | 575.26 KiB |
3d502fb | 1.72 MiB | 2.29 MiB | 576.58 KiB |
6cd0641 | 1.72 MiB | 2.26 MiB | 547.97 KiB |
9ef1fa6 | 1.72 MiB | 2.29 MiB | 576.28 KiB |
e068d53 | 1.72 MiB | 2.29 MiB | 575.30 KiB |
Codecov ReportPatch coverage is 📢 Thoughts on this report? Let us know!. |
We could just use |
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.
LGTM, but I think we also have to do it for Apollo, at least on Android? Is the apollo integration used server-side as well @adinauer? But we have the same problem for the okhttp integration now anyway, if someone is using it on the server alongside the Java SDK
It's a client only, we have support for Or do you mean can this be used in a backend application? That's a yes. Not really sure about details here, maybe we can do a quick call if you need my input here so I can better grasp implications. |
Let's change the |
@markushi I think the PR is still missing |
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 good now, thanks for addressing back-and-forths 🎉
📜 Description
Fixes #1828
💡 Motivation and Context
Just like Cocoa, always return the root transaction instead of the last active span. This is only applied if globalHubMode is enabled.
💚 How did you test it?
📝 Checklist
sendDefaultPII
is enabled.🔮 Next steps