feat: integrate Sentry for error tracking and performance monitoring - #163
Open
Lspnjr1 wants to merge 1 commit into
Open
feat: integrate Sentry for error tracking and performance monitoring#163Lspnjr1 wants to merge 1 commit into
Lspnjr1 wants to merge 1 commit into
Conversation
- Add @sentry/node and @sentry/profiling-node to backend - Add @sentry/nextjs to frontend - Configure Sentry SDK in backend main.ts with: - Performance tracing (10% sample rate, configurable) - CPU profiling for performance insights - Health-check route filtering - User context with hashed email for privacy - Create SentryInterceptor for capturing exceptions with route context - Configure frontend Sentry with: - Client, server, and edge runtime configs - Session replay (10% sessions, 100% on errors) - Error boundary integration - Update error handlers to report to Sentry - Add CI workflow for source map uploads on release tags - Add environment variable examples for Sentry configuration Closes NovaCoreLabs1#6
Contributor
|
@Lspnjr1 resolve conflicts. |
Contributor
|
@Lspnjr1 resolve conflicts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@sentry/nodeand@sentry/profiling-nodefor backend error tracking with CPU profiling@sentry/nextjsfor frontend error tracking with session replayTest plan
SENTRY_DSNin backend and verify errors appear in SentryNEXT_PUBLIC_SENTRY_DSNin frontend and verify errors appear/health,/ping) are excluded from transactionsCloses #6