Closed as not planned
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/browser
SDK Version
7.51.1
Framework Version
No response
Link to Sentry event
*** See linked Jira ticket ***
SDK Setup
Sentry.init({
dsn: _dsn,
integrations: [
new Sentry.BrowserTracing({
tracingOrigins: [
// ...
],
beforeNavigate: (context) => {
return {
...context,
name: transactionName()
};
}
}),
// ...
routingInstrumentation: Sentry.reactRouterV5Instrumentation(
history,
REACT_ROUTER_ROUTES,
matchPath
),
// ...
});
// ...
export const transactionName = () => {
const { pathname } = window.location;
// ...
// temporarily fixes <<unparameterized>> grouping as recommended by sentry engineers
// this unblocks analytics performance monitoring until sentry fixes an issue
// with transaction grouping on their end.
// ref - https://develop.sentry.dev/transaction-clustering/
if (pathname === '/') {
return '/';
}
// ...
};
Steps to Reproduce
Go to customer website *** see linked Jira ticket ***
Capture a few dozen pageloads until transaction is sampled (their tracesSampleRate is 0.1), get the id
Look at txn in Sentry.
Examine their sentry.js
if needed for more detail
Expected Result
transaction.source: "custom"
Actual Result
transaction.source: "url"
Original PR: #5396
┆Issue is synchronized with this Jira Improvement by Unito
Metadata
Metadata
Assignees
Type
Projects
Status
No status