You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Sentry error tracking + performance tracing to backend and auth
Integrate @sentry/node for server-side error capture and performance
monitoring on both Express apps. Add X-Request-Id middleware for
cross-service correlation with dj-site PostHog errors.
- Sentry.init() in instrument.ts (imported first to patch modules)
- setupExpressErrorHandler() before existing error handlers
- X-Request-Id middleware: reads from request or generates UUID, tags Sentry scope
- CORS updated to allow/expose X-Request-Id header
- tsup configs externalize @sentry/node (monkey-patching requires unbundled)
- Deploy action passes SENTRY_RELEASE to container
- Auth service gets a fallback error handler (had none previously)
0 commit comments