Upgrade sentry-sdk, support performance monitoring

This commit is contained in:
Raphael Michel
2021-05-18 11:02:16 +02:00
parent ad3f6e9077
commit b3e14be6ed
4 changed files with 7 additions and 2 deletions

View File

@@ -723,6 +723,7 @@ if config.has_option('sentry', 'dsn') and not any(c in sys.argv for c in ('shell
event_level=logging.CRITICAL
)
],
traces_sample_rate=config.getfloat('sentry', 'traces_sample_rate', fallback=0.0),
environment=urlparse(SITE_URL).netloc,
release=__version__,
send_default_pii=False,

View File

@@ -33,7 +33,7 @@ csscompressor
django-markup
markdown==3.3.*
bleach==3.3.*
sentry-sdk==0.14.*
sentry-sdk==1.1.*
babel
django-i18nfield==1.9.*,>=1.9.1
django-hijack>=2.1.10,<2.2.0

View File

@@ -182,7 +182,7 @@ setup(
'django-markup',
'markdown==3.3.*',
'bleach==3.3.*',
'sentry-sdk==0.14.*',
'sentry-sdk==1.1.*',
'babel',
'paypalrestsdk==1.13.*',
'pycparser==2.13',