Reduce transaction sample rate

This commit is contained in:
2024-06-03 13:43:14 +02:00
parent 42bdabbc1b
commit 3e6813e7c6

View File

@@ -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")