forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit replaces `sentry-raven` with the more modern Sentry SDKs. Settings related to this change: - `sentry_disabled`: completely disables Sentry, in case anything goes sideways (defaults to `false`) refs DE-922 flag=none test plan: - make sure to check out the correct patchset in the `gems/plugins/uuid_provisioner` directory (see the tag below for ref) - create a new project in Sentry (it may be easiest to set up Sentry to run locally; check out `getsentry/onpremise` on GitHub for setup details; it's not too onerous. note that you will need to add `VIRTUAL_HOST` and `VIRTUAL_PORT` to the `nginx` container in that `docker-compose.yml` in order to have your Sentry accessible via Dory at `sentry.docker`) - configure `config/sentry.rb` with your DSN - restart rails and job servers - confirm that, by default: - any errors raised in controllers appear in the "Issues" section - any errors raised in jobs appear in the "Issues" section - user context associated with issues includes user IP and global ID - job issues contain context from the job under the "INST-JOBS" section - set `sentry_disabled` setting to true and restart rails/jobs servers - confirm that the app/jobs start fine and there are no issues - also confirm that Sentry is disabled (no errors received) - remove `config/sentry.yml` and restart rails and jobs servers - confirm that the app/jobs start fine and there are no issues [pin-commit-uuid_provisioner=735c2102fb0020ac5aa80734a323bf08322d002d] Change-Id: Id0fa4b4ee57ab812cd75d21d2e8ab5e21177af1a Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279454 Reviewed-by: Ben Rinaca <[email protected]> QA-Review: Isaac Moore <[email protected]> Product-Review: Isaac Moore <[email protected]> Tested-by: Service Cloud Jenkins <[email protected]>
- Loading branch information
Showing
9 changed files
with
37 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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 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 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
File renamed without changes.
This file contains 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 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 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 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 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