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__v3.x.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ uv add "sentry-sdk[celery]"
21
21
If you have the `celery` package in your dependencies, the Celery integration will be enabled automatically when you initialize the Sentry SDK.
22
22
23
23
<Alert>
24
-
Make sure that the call to `sentry_sdk.init()`is loaded on worker startup and
25
-
not only in the module where your tasks are defined. Otherwise, the
26
-
initialization may happen too late and events might not get reported.
24
+
Make sure you call `sentry_sdk.init()`when the worker process starts,
25
+
not just in the module that defines your tasks. Otherwise, the
26
+
initialization may happen too late, causing events to go unreported.
27
27
</Alert>
28
28
29
29
### Set up Celery Without Django
@@ -184,7 +184,7 @@ You can pass the following keyword arguments to `CeleryIntegration()`:
184
184
185
185
The default is `True`.
186
186
187
-
See [Distributed Traces](#distributed-traces) below to learn how to get more finegrained control over distributed tracing in Celery tasks.
187
+
See [Distributed Traces](#distributed-traces) below to learn how to get more fine-grained control over distributed tracing in Celery tasks.
188
188
189
189
-`monitor_beat_tasks`:
190
190
@@ -208,7 +208,7 @@ You can pass the following keyword arguments to `CeleryIntegration()`:
208
208
209
209
### Distributed Traces
210
210
211
-
Distributed tracing extends the trace from the code that's running your Celery task so that it includes the code that initiated the task.
211
+
Distributed tracing connects the trace of your Celery task to the trace of the code that started the task, giving you a complete view of the entire workflow.
212
212
213
213
You can disable this globally with the `propagate_traces` parameter, documented above. If you set `propagate_traces` to `False`, all Celery tasks will start their own trace.
0 commit comments