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 af75e7b commit ed475eeCopy full SHA for ed475ee
src/run/next.cts
@@ -21,6 +21,9 @@ import { getMemoizedKeyValueStoreBackedByRegionalBlobStore } from './storage/sto
21
// @ts-ignore ignoring readonly NODE_ENV
22
process.env.NODE_ENV = 'production'
23
24
+// Prevent duplicate fetch spans by silencing fetch spans produced by Next.js
25
+process.env.NEXT_OTEL_FETCH_DISABLED = '1'
26
+
27
// eslint-disable-next-line @typescript-eslint/no-var-requires
28
const { getRequestHandlers } = require('next/dist/server/lib/start-server.js')
29
0 commit comments