Reduce Sentry sample rate

This commit is contained in:
rubenwardy 2024-05-16 17:08:57 +01:00
parent aaecfb1121
commit b2e543a16a

@ -52,11 +52,11 @@ if os.getenv("SENTRY_DSN"):
integrations=[FlaskIntegration()], integrations=[FlaskIntegration()],
# Set traces_sample_rate to 1.0 to capture 100% # Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring. # of transactions for performance monitoring.
traces_sample_rate=1.0, traces_sample_rate=0.1,
# Set profiles_sample_rate to 1.0 to profile 100% # Set profiles_sample_rate to 1.0 to profile 100%
# of sampled transactions. # of sampled transactions.
# We recommend adjusting this value in production. # We recommend adjusting this value in production.
profiles_sample_rate=1.0, profiles_sample_rate=0.1,
before_send=before_send, before_send=before_send,
) )