Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- 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/astro
SDK Version
9.19.0
Framework Version
5.7.13
Link to Sentry event
No response
Reproduction Example/SDK Setup
Here's an Astro starter repo with the Sentry integration setup as per the instructions on the Sentry site.
https://github.com/dowski/sentry-tracing-bug
You might need your own secret+DSN configured, but after that npm run dev
should let you try it out.
Steps to Reproduce
- Create a new Astro site with
npm create astro@latest
- Follow the Sentry instructions to add Sentry w/ tracing
- Verified that error logging works
- Added custom trace code
- Reloaded the page
In the console log I added, I see my span typed as SentryNonRecordingSpan
. I also see a warning: "Multiple browserTracingIntegration instances are not supported."
Expected Result
My custom bar
span is visible in the Sentry dashboard.
Actual Result
I see lots of Astro trace spans, but not my custom one. I've tried this on a couple different times with fresh projects and I get the same result. Here's a link to a sample trace in case you can view it internally.
Metadata
Metadata
Assignees
Type
Projects
Status
No status