### Problem Statement As per https://github.com/getsentry/develop/pull/624, we now have to start adding a `source` label that indicates how a transaction name was generated. See more details here: https://github.com/getsentry/sentry-javascript/issues/5342 ### Solution Brainstorm - [x] Add ability to add source to transactions https://github.com/getsentry/sentry-javascript/pull/5367 - [x] `transaction.setMetadata({ source: SOURCE_NAME })` - [x] Add tests - [x] Update Router integrations - [x] React Router v3 https://github.com/getsentry/sentry-javascript/pull/5377 - [x] React Router v4/v5 https://github.com/getsentry/sentry-javascript/pull/5384 - [x] React Router v6 https://github.com/getsentry/sentry-javascript/pull/5385 - [x] Angular https://github.com/getsentry/sentry-javascript/pull/5382 - [x] Vue https://github.com/getsentry/sentry-javascript/pull/5381 - [x] Nextjs https://github.com/getsentry/sentry-javascript/pull/5391 - [x] Custom instrumentation https://github.com/getsentry/sentry-javascript/pull/5396 - [x] Default instrumentation https://github.com/getsentry/sentry-javascript/pull/5386 - [x] Serverless https://github.com/getsentry/sentry-javascript/pull/5394 - [x] Remix https://github.com/getsentry/sentry-javascript/pull/5398 - [x] Release Changelog: https://github.com/getsentry/sentry-javascript/pull/5397
Problem Statement
As per getsentry/develop#624, we now have to start adding a
sourcelabel that indicates how a transaction name was generated.See more details here: #5342
Solution Brainstorm
transaction.setMetadata({ source: SOURCE_NAME })