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.
instrumentServer
1 parent c6e581d commit 65a1ff3Copy full SHA for 65a1ff3
packages/nextjs/src/utils/instrumentServer.ts
@@ -247,6 +247,7 @@ function makeWrappedReqHandler(origReqHandler: ReqHandler): WrappedReqHandler {
247
currentScope.addEventProcessor(event =>
248
event.type !== 'transaction' ? addRequestDataToEvent(event, nextReq) : event,
249
);
250
+ currentScope.setSDKProcessingMetadata({ request: req });
251
252
// We only want to record page and API requests
253
if (hasTracingEnabled() && shouldTraceRequest(nextReq.url, publicDirFiles)) {
0 commit comments