File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/nextjs/src/server Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,7 @@ export function init(options: NodeOptions): NodeClient | undefined {
99
99
. concat (
100
100
// We are using the HTTP integration without instrumenting incoming HTTP requests because Next.js does that by itself.
101
101
httpIntegration ( {
102
- instrumentation : {
103
- _experimentalConfig : {
104
- disableIncomingRequestInstrumentation : true ,
105
- } ,
106
- } ,
102
+ disableIncomingRequestSpans : true ,
107
103
} ) ,
108
104
) ;
109
105
@@ -331,7 +327,7 @@ export function init(options: NodeOptions): NodeClient | undefined {
331
327
}
332
328
333
329
// backfill transaction name for pages that would otherwise contain unparameterized routes
334
- if ( event . contexts . trace . data [ 'sentry.route_backfill' ] && event . transaction !== 'GET /_app' ) {
330
+ if ( event . contexts . trace . data [ TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL ] && event . transaction !== 'GET /_app' ) {
335
331
event . transaction = `${ method } ${ event . contexts . trace . data [ TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL ] } ` ;
336
332
}
337
333
You can’t perform that action at this time.
0 commit comments