Auto-instrumentation support

Auto-instrumentation is the @rasputin-ai/sveltekit/vite plugin. Check the table before you change adapter or deploy target.

Where auto-instrumentation works

EnvironmentAuto-instrumentation
SvelteKit 2 with adapter-node on Node.js 22.15 or newerUse @rasputin-ai/sveltekit/vite. Node 22 and 24 LTS.
SvelteKit 2 with adapter-node, Vite dev serverSame Vite plugin instruments modules on load.
adapter-vercel, adapter-netlify, Cloudflare, and other serverless or edge adaptersNot supported. Use adapter-node on a long-running Node process.
adapter-static and prerender-only buildsNo server runtime during prerender.

Tested on SvelteKit 2 with adapter-node (Node 22.15+) as a long-running process. HTTP is scoped by rasputinServerHooks. Serverless adapters are not supported.

Next: Continue to instrumentation & executions