Skip to content

Commit

Permalink
Merge pull request #78 from edx/ihassan/GSRE-2194_added_dd_config
Browse files Browse the repository at this point in the history
chore: Enable DD on beat_scheduler
  • Loading branch information
syedimranhassan authored Oct 16, 2024
2 parents c07808e + 24232aa commit a3047ef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
source {{ edxapp_app_dir }}/edxapp_env
{% set executable = edxapp_venv_bin + '/single-beat ' + edxapp_venv_bin + '/celery' %}

{% if COMMON_ENABLE_DATADOG and COMMON_ENABLE_DATADOG_APP %}
{% set executable = edxapp_venv_bin + '/ddtrace-run ' + executable %}
{% endif %}

# We exec so that celery is the child of supervisor and can be managed properly

exec {{ executable }} --config="${SERVICE_CONFIG}" beat $@

0 comments on commit a3047ef

Please sign in to comment.