mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
Reduce transaction sample rate
This commit is contained in:
@@ -45,7 +45,7 @@ if settings.SENTRY_DSN:
|
||||
logger.error("Sentry is not installed, avoided")
|
||||
else:
|
||||
logger.info("Sentry enabled")
|
||||
sentry_sdk.init(dsn=settings.SENTRY_DSN)
|
||||
sentry_sdk.init(dsn=settings.SENTRY_DSN, traces_sample_rate=0.01)
|
||||
else:
|
||||
logger.info("Sentry disabled")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user