Closed
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/sveltekit
SDK Version
7.53.0
Framework Version
SvelteKit 1.x
Link to Sentry event
No response
SDK Setup
Basic SDK setup from wizard
Steps to Reproduce
npm create svelte@latest
npx @sentry/wizard@latest -i sveltekit
curl localhost:PORT/something
Expected Result
Three options here:
- The SDK discards transactions that don't have a matching route
- The SDK falls back to the raw URL (sets the source accordingly) and the txn shows as <> in Sentry
- The SDK falls back to a "unknown route" transaction, sets the source as custom and sends it to Sentry where it will show up like a normal transaction
I'm currently leaning towards option 1 because I don't see value in these transactions and it's the simplest course of action
Actual Result
The SDK sends a transaction with with a name like GET|POST null
to Sentry, with source route
This happens because we determine the txn name with event.route.id
which evaluates to null
.