Skip to content

Commit 28d284d

Browse files
Apply suggestions from code review
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 80a16e3 commit 28d284d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/platforms/python/integrations/celery/index__v3.x.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ uv add "sentry-sdk[celery]"
2121
If you have the `celery` package in your dependencies, the Celery integration will be enabled automatically when you initialize the Sentry SDK.
2222

2323
<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.
2727
</Alert>
2828

2929
### Set up Celery Without Django
@@ -184,7 +184,7 @@ You can pass the following keyword arguments to `CeleryIntegration()`:
184184

185185
The default is `True`.
186186

187-
See [Distributed Traces](#distributed-traces) below to learn how to get more fine grained 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.
188188

189189
- `monitor_beat_tasks`:
190190

@@ -208,7 +208,7 @@ You can pass the following keyword arguments to `CeleryIntegration()`:
208208

209209
### Distributed Traces
210210

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.
212212

213213
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.
214214

0 commit comments

Comments
 (0)