Runtime recorder compatibility

Check this before you change adapters or build scripts. SvelteKit instrumentation is the Vite plugin, not rasputin-instrument.

Supported environments

EnvironmentSupport
SvelteKit 2 with adapter-node on Node.js 22.15 or newerUse the @rasputin-ai/sveltekit Vite plugin. Node 22 and 24 are the supported LTS lines.
SvelteKit 2 with adapter-node, Vite dev serverThe same Vite plugin instruments modules as they load.
TypeScript compiled with rasputin-instrument, bun --preload, or node --importDo not use these with SvelteKit. Instrumentation is the Vite plugin.
Cloudflare, Netlify Edge, Vercel Edge, and other non-Node adaptersNot supported. The published runtime is @rasputin-ai/sveltekit/runtime/node.
adapter-static and prerender-only buildsCapture 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