next.js
bc856629 - Add local Request Insights span tracing (#96275)

Commit
124 days ago
Add local Request Insights span tracing (#96275) ## Summary - Adds a local `traceLocalSpan` primitive for Request Insights diagnostics. - Supports detached roots and nested local parentage. - Records thrown errors, marks span status, rethrows, and always ends the span. - Keeps this foundational behavior separate from tracer/OTel integration. ## 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 ``` <!-- NEXT_JS_LLM -->
Author
Parents
Loading