# settings.py SPIDERMON_SENTRY_DSN = '<SENTRY_DSN_URL>' SPIDERMON_SENTRY_PROJECT_NAME = '<PROJECT_NAME>' SPIDERMON_SENTRY_ENVIRONMENT_TYPE = '<ENVIRONMENT_TYPE>'
A notification on Sentry will look like the following one:
The message will have tags based on the failed monitor names (after replacing
whitespace, special symbols etc.), but as the tag length is limited to 32 chars
you should use
@monitors.name to set monitor names that will produce useful
The following settings are needed to make this action workable:
Data Source Name provided by Sentry, it’s a representation of the configuration required by the Sentry SDKs.
Project name to use in notification title.
Environment type to use in notification title. It could be set to anything like local, staging, development or production.
If set True, the Sentry message will be in the logs but nothing will be sent.