Skip to content

Commit

Permalink
fixup! minor doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robrap committed Nov 20, 2024
1 parent 9614829 commit 4c734e4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ If you want to learn more about custom span tags in general, see `Enhanced Monit
Setting up the Middleware
-------------------------

You simply need to add ``edx_arch_experiments/datadog_monitoring/code_owner/middleware.CodeOwnerMonitoringMiddleware`` to get code owner span tags on Django requests.
You simply need to add ``edx_arch_experiments.datadog_monitoring.code_owner.middleware.CodeOwnerMonitoringMiddleware`` to get code owner span tags on Django requests.

Handling celery tasks
---------------------

For celery tasks, this plugin will automatically detect and add code owner span tags to any span with ``operation_name:celery.run``.

This is accomplished by receiving signals from celery's worker_process_init for each process, and then adding a custom Datadog span processor to add the span tags as appropriate.

Configuring your app settings
-----------------------------

Expand Down

0 comments on commit 4c734e4

Please sign in to comment.