mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Upgrade sentry-sdk, support performance monitoring
This commit is contained in:
@@ -350,10 +350,14 @@ application. If you want to use sentry, you need to set a DSN in the configurati
|
|||||||
|
|
||||||
[sentry]
|
[sentry]
|
||||||
dsn=https://<key>:<secret>@sentry.io/<project>
|
dsn=https://<key>:<secret>@sentry.io/<project>
|
||||||
|
traces_sample_rate=0.5
|
||||||
|
|
||||||
``dsn``
|
``dsn``
|
||||||
You will be given this value by your sentry installation.
|
You will be given this value by your sentry installation.
|
||||||
|
|
||||||
|
``traces_sample_rate``
|
||||||
|
Sample rate for performance monitoring.
|
||||||
|
|
||||||
|
|
||||||
Caching
|
Caching
|
||||||
-------
|
-------
|
||||||
|
|||||||
@@ -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
|
event_level=logging.CRITICAL
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
traces_sample_rate=config.getfloat('sentry', 'traces_sample_rate', fallback=0.0),
|
||||||
environment=urlparse(SITE_URL).netloc,
|
environment=urlparse(SITE_URL).netloc,
|
||||||
release=__version__,
|
release=__version__,
|
||||||
send_default_pii=False,
|
send_default_pii=False,
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ csscompressor
|
|||||||
django-markup
|
django-markup
|
||||||
markdown==3.3.*
|
markdown==3.3.*
|
||||||
bleach==3.3.*
|
bleach==3.3.*
|
||||||
sentry-sdk==0.14.*
|
sentry-sdk==1.1.*
|
||||||
babel
|
babel
|
||||||
django-i18nfield==1.9.*,>=1.9.1
|
django-i18nfield==1.9.*,>=1.9.1
|
||||||
django-hijack>=2.1.10,<2.2.0
|
django-hijack>=2.1.10,<2.2.0
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ setup(
|
|||||||
'django-markup',
|
'django-markup',
|
||||||
'markdown==3.3.*',
|
'markdown==3.3.*',
|
||||||
'bleach==3.3.*',
|
'bleach==3.3.*',
|
||||||
'sentry-sdk==0.14.*',
|
'sentry-sdk==1.1.*',
|
||||||
'babel',
|
'babel',
|
||||||
'paypalrestsdk==1.13.*',
|
'paypalrestsdk==1.13.*',
|
||||||
'pycparser==2.13',
|
'pycparser==2.13',
|
||||||
|
|||||||
Reference in New Issue
Block a user