Runtime recorder compatibility
Check this before you change adapters or build scripts. SvelteKit instrumentation is the Vite
plugin, not rasputin-instrument.
Supported environments
| Environment | Support |
|---|---|
| SvelteKit 2 with adapter-node on Node.js 22.15 or newer | Use the @rasputin-ai/sveltekit Vite plugin. Node 22 and 24 are the supported LTS lines. |
| SvelteKit 2 with adapter-node, Vite dev server | The same Vite plugin instruments modules as they load. |
| TypeScript compiled with rasputin-instrument, bun --preload, or node --import | Do not use these with SvelteKit. Instrumentation is the Vite plugin. |
| Cloudflare, Netlify Edge, Vercel Edge, and other non-Node adapters | Not supported. The published runtime is @rasputin-ai/sveltekit/runtime/node. |
| adapter-static and prerender-only builds | Capture stays off while building is true. There is no Node process to report from. |
Tested on SvelteKit 2 with @sveltejs/adapter-node. The Vite plugin instruments client and SSR modules. HTTP requests are scoped by rasputinServerHooks. Node.js 22.15.0 is the minimum for the Node runtime.
Ready to set up? Continue to setup
