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
| Environment | Auto-instrumentation |
|---|---|
| SvelteKit 2 with adapter-node on Node.js 22.15 or newer | Use @rasputin-ai/sveltekit/vite. Node 22 and 24 LTS. |
| SvelteKit 2 with adapter-node, Vite dev server | Same Vite plugin instruments modules on load. |
| adapter-vercel, adapter-netlify, Cloudflare, and other serverless or edge adapters | Not supported. Use adapter-node on a long-running Node process. |
| adapter-static and prerender-only builds | No 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.
