diff --git a/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 b/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 index f3dc209aa3b..6be5921b271 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 @@ -29,6 +29,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false # We want to be able to toggle this on separately from DD in general. {% if EDXAPP_DATADOG_PROFILING_ENABLE %} export DD_PROFILING_ENABLED=true +export DD_PROFILING_STACK_V2_ENABLED=true {% endif -%} export PORT="{{ edxapp_cms_gunicorn_port }}" diff --git a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 index e473cf59b24..3ff54b14210 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -30,6 +30,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false # We want to be able to toggle this on separately from DD in general. {% if EDXAPP_DATADOG_PROFILING_ENABLE %} export DD_PROFILING_ENABLED=true +export DD_PROFILING_STACK_V2_ENABLED=true {% endif -%} export PORT="{{ edxapp_lms_gunicorn_port }}"