You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add data like request headers and IP for users, if applicable;
85
89
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
86
90
send_default_pii=True,
91
+
# ___PRODUCT_OPTION_START___ performance
87
92
# Set traces_sample_rate to 1.0 to capture 100%
88
93
# of transactions for tracing.
89
94
traces_sample_rate=1.0,
95
+
# ___PRODUCT_OPTION_END___ performance
96
+
# ___PRODUCT_OPTION_START___ profiling
90
97
# Set profiles_sample_rate to 1.0 to profile 100%
91
98
# of sampled transactions.
92
99
# We recommend adjusting this value in production.
93
100
profiles_sample_rate=1.0,
101
+
# ___PRODUCT_OPTION_END___ profiling
94
102
)
95
103
96
104
# Enqueueing a task to be processed by Celery
@@ -111,7 +119,7 @@ To confirm that your SDK is initialized on worker start, pass `debug=True` to `s
111
119
112
120
The snippet below includes an intentional `ZeroDivisionError` in the Celery task that will be captured by Sentry. To trigger the error call `debug_sentry.delay()`:
0 commit comments