feat: Backend Error Monitoring and Sentry Integration#230
Merged
Cedarich merged 1 commit intoPulsefy:mainfrom Mar 29, 2026
Merged
feat: Backend Error Monitoring and Sentry Integration#230Cedarich merged 1 commit intoPulsefy:mainfrom
Cedarich merged 1 commit intoPulsefy:mainfrom
Conversation
Resolves Pulsefy#228 Tasks implemented: - Integrated Sentry using @sentry/nestjs and @sentry/profiling-node. - Created SentryModule and SentryService for injecting sentry capturing behaviors across the app. - Configured a SentryExceptionFilter to intercept all unhandled internal server exceptions (status code 5xx) with fully sanitized request context (redacting secrets, tokens, and authorization fields). - Standardized error logging in LoggingInterceptor to include full request context (correlation ID, parsed body without sensitive data). - Verified linting, unit tests, and production build runs successfully in the workspace.
|
@walterthesmart Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Cedarich
approved these changes
Mar 29, 2026
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.
This PR resolves issue #228 by integrating comprehensive Sentry error tracking and standardizing the structured logging setup for backend services.
###Tasks Addressed
@sentry/nodeand@sentry/profiling-nodeto capture errors, profile applications, and catch failures.LoggingInterceptorto track full error context alongside duration metrics.SentryServiceis introduced for tagging, user tracing, and custom breadcrumbs throughout the codebase to ensure robust traces.SentryExceptionFilteris added to safely track internal 5xx errors while filtering out noise from 4xx (client mistakes)..env.example.Closes Error Monitoring & Sentry Integration #228