[sveltekit] orphaned/broken subtraces with wizard example page
Is there an existing issue for this?
- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [X] I have reviewed the documentation https://docs.sentry.io/
- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
7.103.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Wizard generated init and example code. No other options added.
Steps to Reproduce
Description: It looks like the example page (“/sentry-example”) the wizard creates, produces orphaned/broken subtraces when testing that page. Example trace with result: https://j-org.sentry.io/performance/trace/d760ee30bcc64b689068af164ff06cc0/?limit=100&pageEnd=2024-03-01T08%3A42%3A42.115&pageStart=2024-02-29T08%3A42%3A42.115
Steps to reproduce:
- Create sceltekit project
- Install SDK with the wizard
- Trigger test error from /sentry-example
- Inspect associated transaction in Sentry
Expected Result
Subtraces to properly associate to parent from the /sentry-example
Actual Result
Example page produces broken or orphaned subtraces
Hi, we will address this in the upcoming version 8 of the SDK. Unfortunately we have very intransparent logic for frontend traces at the moment and the trace you shared is one example of that.
This should hopefully be improved/fixed in v8.0.0 - could you give it a try there?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀