Creates a SERVER span, propagates incoming W3C trace context
(traceparent/tracestate) from request headers, and injects
trace context into the response headers.
Use this directly in frameworks (e.g. SvelteKit hooks) that provide
Request + ExecutionContext but not the full ExportedHandler pattern.
Trace a single fetch-style request.
Creates a
SERVERspan, propagates incoming W3C trace context (traceparent/tracestate) fromrequestheaders, and injects trace context into the response headers.Use this directly in frameworks (e.g. SvelteKit hooks) that provide
Request+ExecutionContextbut not the fullExportedHandlerpattern.