@interfere/node captures errors and custom spans from Node.js processes. For NestJS or Next.js, use the NestJS or Next.js integration.
Install
INTERFERE_PUBLIC_KEY to the public key from your surface.
Initialize
Callinit() before the work you want to capture:
Capture handled errors and spans
captureUncaughtException: false or captureUnhandledRejection: false when your application owns those handlers. The uncaught-exception handler flushes telemetry and exits the process.
Configuration
Releases and shutdown
Use the TypeScript SDK to publish release metadata and source maps from a custom build pipeline. Build and runtime must use the same commit SHA. SetINTERFERE_SOURCE_ID in both when git metadata is unavailable.
For a short-lived process, await flush() before it exits. Use close() when shutting down the SDK and its provider: