next.js
77169764 - Isolate local Request Insights spans from OpenTelemetry (#96276)

Commit
125 days ago
Isolate local Request Insights spans from OpenTelemetry (#96276) ## Summary - Keeps Request Insights diagnostic spans inside the local recorder. - Nested generic Next.js spans retain the local parent hierarchy. - The user’s active OpenTelemetry context remains active and unchanged. - Diagnostic wrappers are not delegated to or exported through user OpenTelemetry. ## Verification ```bash pnpm build-all pnpm --filter=next types pnpm --filter=next build pnpm test-unit --runTestsByPath packages/next/src/server/lib/trace/local-span-recorder.test.ts packages/next/src/server/lib/trace/tracer.test.ts ``` <!-- NEXT_JS_LLM -->
Author
Parents
Loading