We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbafe60 commit 2a1c4baCopy full SHA for 2a1c4ba
config/settings/production.py
@@ -274,6 +274,12 @@
274
# https://docs.sentry.io/platforms/python/integrations/redis/#options
275
RedisIntegration(),
276
],
277
+ # Enable tracing and profiling but with sampling
278
+ # Setting a value of 1.0 will send 100% of traces to Sentry
279
+ # https://docs.sentry.io/platforms/python/tracing/
280
+ traces_sample_rate=env.float("SENTRY_TRACING_SAMPLE_RATE", default=0.2),
281
+ # https://docs.sentry.io/platforms/python/profiling/
282
+ profiles_sample_rate=env.float("SENTRY_PROFILES_SAMPLE_RATE", default=0.05),
283
)
284
285
0 commit comments