Files
sase.tr/packages/config/src
Sase Dev 963e787344 feat(observability): add Sentry error tracking to API and worker
Wires @sentry/nestjs into the API (instrument.ts + SentryModule + decorator
on HttpExceptionFilter) and the BullMQ worker (instrument-worker.ts +
captureException on each queue's failed handler, flush on shutdown).

Sentry's OpenTelemetry pipeline is conditionally skipped when our custom OTel
is enabled (OTEL_ENABLED=true) so the two don't double-instrument; in that
mode tracing/profiling sample rates fall to 0 but error capture still works.

Adds optional SENTRY_DSN to the env schema and approves the native CPU
profiler build script in pnpm.onlyBuiltDependencies.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 09:10:18 +00:00
..