-
Notifications
You must be signed in to change notification settings - Fork 2
Feat: Integrate Sentry error reporting and enhance observability features #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5a2b9e1
Chore: Gitignore .env.development and add example template
SloMR 092c278
Chore: Add .env.production template and require explicit env vars
SloMR 0ff1822
Server: Integrate Sentry for error reporting
SloMR 5c8ac45
Web: Integrate Sentry for error reporting
SloMR 45ea15a
Docs: Disclose Sentry error reporting in privacy/terms
SloMR 877d97f
Server: Forward logs and traces to Sentry with privacy guarantees
SloMR 774d859
Web: Forward logs and traces to Sentry with privacy guarantees
SloMR 0c54ca7
Web: Enhance observability with Sentry spans
SloMR ff8be5a
Web: Boost Sentry observability for file transfers
SloMR 7a279ce
Docker: Enhance env var validation
SloMR 894ca2c
Server: Improve Sentry integration with conditionals
SloMR 35c0f85
Nginx: Updates security headers to expand Sentry observability.
SloMR 04af242
Server: Adjust Sentry to Ignore WebSocket Traces
SloMR 5ce80c9
Web: Improve logging and error handling for observability
SloMR 2bf25b3
Web: Add Sentry tracing for observability
SloMR e0bb259
Web: Optimize Sentry initialization for SSR
SloMR 927d764
Web: Enhance room tracing observability
SloMR 6ed24bb
Web: Enhance WebRTC connection tracing
SloMR a51307e
Web: Strengthen Sentry observability
SloMR 1f0d7a6
Chore: Fix linting for .env.*.example.
SloMR 464c565
Make: Enforce .env file check for dev setup
SloMR 72802c4
Web: Removes unnecessary Sentry trace attributes for WebSocket and ro…
SloMR 891b47f
Server: Enhance optional Sentry transaction
SloMR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Development Environment Variables | ||
| # | ||
| # Copy this file to .env.development and adjust values for your machine: | ||
| # cp .env.development.example .env.development | ||
| # | ||
| # Then run ./scripts/configure-network.sh to set your local IP automatically. | ||
| # Do NOT commit .env.development — it is gitignored. | ||
|
|
||
| CERT_PATH=./certs | ||
| CONTAINER_USER=nobody | ||
| SERVER_ENV=docker-dev | ||
|
|
||
| # Build Configuration for Development | ||
| BUILD_MODE=development | ||
| NPM_BUILD_CONFIG=docker-dev | ||
| RUST_BUILD_MODE=debug | ||
|
|
||
| # NGINX Configuration for Development | ||
| HOST=127.0.0.1 | ||
| PORT=4000 | ||
| SERVER_NAME=127.0.0.1 | ||
|
|
||
| # Sentry (error tracking) | ||
| # Leave SENTRY_ENABLED=false in dev unless you actively want to send events. | ||
| # SENTRY_DSN must stay empty in this committed file — set it only in your | ||
| # local .env.development (which is gitignored). | ||
| SENTRY_DSN= | ||
| SENTRY_ENABLED=false |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Production Environment Variables | ||
| # | ||
| # This file is a template. On your production host (e.g. the EC2 instance): | ||
| # cp .env.production.example .env.production | ||
| # chmod 600 .env.production | ||
| # # then edit .env.production and fill in real secrets (SENTRY_DSN, etc.) | ||
| # | ||
| # .env.production is gitignored — it must NEVER be committed. | ||
|
|
||
| CERT_PATH=/etc/ssl/pastepoint | ||
| CONTAINER_USER=nobody | ||
| SERVER_ENV=production | ||
|
|
||
| # Build Configuration for Production | ||
| BUILD_MODE=production | ||
| NPM_BUILD_CONFIG=docker | ||
| RUST_BUILD_MODE=release | ||
|
|
||
| # NGINX Configuration for Production | ||
| HOST=0.0.0.0 | ||
| PORT=4000 | ||
| SERVER_NAME=pastepoint.com | ||
|
|
||
| # Sentry (error tracking) | ||
| # Set SENTRY_DSN to the production server DSN. Without it, Sentry stays | ||
| # disabled even if SENTRY_ENABLED=true. | ||
| SENTRY_DSN= | ||
| SENTRY_ENABLED=true |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| .DS_Store | ||
| .env | ||
| .env.development | ||
| .env.production | ||
| .env.*.local | ||
| target/* | ||
| node_modules/* | ||
| certs/* | ||
|
|
||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.