Vercel now directly integrates with SvelteKit's new server-side OpenTelemetry spans.
To get started, activate experimental tracing in SvelteKit:
/** @type {import('@sveltejs/kit').Config} */
And create the tracing instrumentation file with the Vercel OpenTelemetry collector:
src/instrumentation.server.ts
import { registerOTel } from '@vercel/otel';
serviceName: 'my-sveltekit-app'
Traces generated during tracing sessions will now include the built-in SvelteKit spans. You can also configure other collectors. See the SvelteKit observability docs for more information.

SvelteKit integrated spans (in green) shown beneath Vercel infrastructure spans. Delays added for illustration.