Noa Virellia e55dfbe4ee feat(sentry): add error monitoring, tracing, session replay, and structured logging
Integrates @sentry/sveltekit 10.49.0 via the modern SvelteKit path
(instrumentation.server.ts + experimental.instrumentation.server).

- instrumentation.server.ts: server-side init with tracing, logging,
  and console capture (log/warn/error forwarded to Sentry)
- hooks.client.ts: client-side init with browserTracingIntegration,
  replayIntegration (maskAllText/blockAllMedia), consoleLoggingIntegration,
  and handleErrorWithSentry
- hooks.server.ts: adds handleErrorWithSentry export, composes existing
  appHandle with sentryHandle() via sequence(), and sets isolation scope
  attributes (user_id, username, permission_level) per request for
  log/trace correlation
- svelte.config.js: enables experimental.instrumentation.server and
  experimental.tracing.server
- vite.config.ts: adds sentrySvelteKit() plugin for source map uploads
- .env.example: documents VITE_SENTRY_DSN, SENTRY_DSN, SENTRY_ORG,
  SENTRY_PROJECT, SENTRY_AUTH_TOKEN

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 16:10:36 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
2026-04-18 12:14:30 +08:00
Description
No description provided
1.8 MiB
Languages
TypeScript 69.8%
Svelte 28.9%
CSS 0.7%
JavaScript 0.4%
Dockerfile 0.1%