Sentry
Running in AWS
Start AWS vault session
Run following command in the root of your project:
make aws-vault ENV_STAGE=<CHANGE_ME>
Set variables in AWS
First start the SSM editor tool by running following command in the root of your project:
make -C packages/backend secrets
Variables are set in a JSON format so add following keys:
{
"SENTRY_DSN": "<CHANGE_ME>"
}
Removing the feature
- Delete
sentry_sdk.init()
call inpackages/backend/config/settings.py
module. - Delete
sentry_sdk.init()
call inpackages/workers/utils/monitoring.py
- Remove
sentry-sdk
from Pipfile.