@luckystack/error-tracking
v0.16.1
Published
Optional, pluggable error-tracking integration for LuckyStack with Sentry, Datadog, and PostHog adapters. Auto-wires error/performance capture into the framework hook surface and is a safe no-op until a tracker is configured.
Maintainers
Readme
@luckystack/error-tracking
Pluggable server-side error monitoring for LuckyStack. In a scaffolded app, run npx luckystack add error-tracking, then install the SDK for your chosen backend. An app can use multiple adapters; one failing backend must not break a request or the other trackers. See adapter rationale and the installed exports for configuration.
For Datadog, initialize its Node patching before framework imports. For other providers, consult the installed package's registration entry and Sentry integration instead of maintaining a duplicate boot recipe here. Vendor-specific SDKs are optional; do not install one you do not use.
Data boundary: default scrubbing cannot know your project's sensitive fields. Apply project-specific filtering before sending personal information, message text, or contextual data to an external tracker. Request-scoped identity must remain isolated across concurrent users; consult auto-instrumentation and span ownership.
