Skip to content

Commit b09f6d6

Browse files
committed
use httpIntegration by default
1 parent f4f9ec1 commit b09f6d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/nextjs/src/server/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { distDirRewriteFramesIntegration } from './distDirRewriteFramesIntegrati
1111

1212
export * from '@sentry/node';
1313
import type { EventProcessor } from '@sentry/types';
14+
import { httpIntegration } from './httpIntegration';
15+
16+
export { httpIntegration };
1417

1518
export { captureUnderscoreErrorException } from '../common/_error';
1619

@@ -75,6 +78,7 @@ export function init(options: NodeOptions): void {
7578
// Next.js comes with its own Http instrumentation for OTel which would lead to double spans for route handler requests
7679
integration.name !== 'Http',
7780
),
81+
httpIntegration(),
7882
];
7983

8084
// This value is injected at build time, based on the output directory specified in the build config. Though a default

0 commit comments

Comments
 (0)