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 8e6d77e commit 42f7380Copy full SHA for 42f7380
1 file changed
packages/node/src/integrations/http/index.ts
@@ -157,7 +157,7 @@ export const httpIntegration = defineIntegration((options: HttpOptions = {}) =>
157
// On Vercel, we want to patch the response to flush on Vercel Lambda freeze
158
// This is usually done in the OTEL Http Instrumentation, but if that is not added,
159
// we do it here instead
160
- patchResponseForServerless: !instrumentSpans && !!process.env.VERCEL,
+ patchResponseForServerless: !instrumentSpans && !!process.env.VERCEL && !options.disableIncomingRequestSpans,
161
});
162
163
// This is the "regular" OTEL instrumentation that emits spans
0 commit comments