We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3515b9 commit 3a50682Copy full SHA for 3a50682
src/sentry/static/sentry/app/bootstrap.tsx
@@ -82,8 +82,9 @@ Sentry.init({
82
tracesSampleRate,
83
async beforeSend(event) {
84
if (event.type === 'transaction') {
85
- // for JavaScript transactions, set the transaction name based on the current window.location
86
- // object against the application react-router routes
+ // For JavaScript transactions, translate the transaction name if it exists and doesn't start with /
+ // using the app's react-router routes. If the transaction name doesn't exist, use the window.location.pathname
87
+ // as the fallback.
88
89
let prevTransactionName = event.transaction;
90
0 commit comments