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
Copy file name to clipboardExpand all lines: docs/platforms/python/integrations/celery/index.mdx
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -93,14 +93,16 @@ You can pass the following keyword arguments to `CeleryIntegration()`:
93
93
94
94
-`propagate_traces`
95
95
96
-
Propagate Sentry tracing information to the Celery task. This makes it possible to link Celery task errors to the function that triggered the task.
96
+
Propagate Sentry tracing information to the Celery task. This makes it possible to link Celery task errors to the function that triggered the task.
97
97
98
-
If this is set to `False`:
98
+
If this is set to `False`:
99
99
100
-
- errors in Celery tasks won't be matched to the triggering function.
101
-
- your Celery tasks will start a new trace and won't be connected to the trace in the calling function.
100
+
- errors in Celery tasks won't be matched to the triggering function.
101
+
- your Celery tasks will start a new trace and won't be connected to the trace in the calling function.
102
102
103
-
The default is `True`.
103
+
The default is `True`.
104
+
105
+
See [Distributed Traces](#distributed-traces) below to learn how to get more fine grained control over distributed tracing in Celery tasks.
104
106
105
107
-`monitor_beat_tasks`:
106
108
@@ -128,6 +130,8 @@ You can disable this globally with the `propagate_traces` parameter, documented
128
130
129
131
If you want to have more fine-grained control over trace distribution, you can override the `propagate_traces` option by passing the `sentry-propagate-traces` header when starting the Celery task:
130
132
133
+
**Note:** The `CeleryIntegration` does not utilize the `traces_sample_rate` config option for deciding if a trace should be propagated into a Celery task.
0 commit comments