Skip to content

Commit

Permalink
fixup! minor update
Browse files Browse the repository at this point in the history
Co-authored-by: Tim McCormack <[email protected]>
  • Loading branch information
robrap and timmc-edx authored Nov 21, 2024
1 parent 678bae3 commit 9e14b61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions edx_arch_experiments/datadog_monitoring/signals/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
def init_worker_process(sender, **kwargs):
"""
Adds a Datadog span processor to each worker process.
We have to do this from inside the worker processes because they fork from the
parent process before the plugin app is initialized.
"""
try:
from ddtrace import tracer # pylint: disable=import-outside-toplevel
Expand Down

0 comments on commit 9e14b61

Please sign in to comment.