Provide your Sentry credentials
You will need to add the following environment variables in order to use Sentry in Mage:SENTRY_DSN: sentry dsn urlSENTRY_TRACES_SAMPLE_RATE: (optional) value between 0 and 1SENTRY_SERVER_NAME: (optional) Name of the Mage server
Using Sentry in Mage
Once you set theSENTRY_DSN environment variable, the Sentry integration will be
enabled the next time you start the Mage server.
The following errors will be reported to Sentry:
- Exceptions from trigger runs.
- Exceptions from the Mage scheduler.
- Exceptions from runs started by the
mage runCLI command.