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 b85021300ff..c2f20ce3a16 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 @@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false # Suppress middleware spans because there are about 100 for each request. # Remove (or set to true) for debugging. -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false +# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true {% endif -%} # We want to be able to toggle this on separately from DD in general. 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 fc8e295cb59..730f313a060 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false # Suppress middleware spans because there are about 100 for each request. # Remove (or set to true) for debugging. -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false +# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true {% endif -%} diff --git a/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 b/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 index 457c0120445..95dd4023ef2 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 @@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false # Suppress middleware spans because there are about 100 for each request. # Remove (or set to true) for debugging. -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false +# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true {% endif -%} # We want to be able to toggle this on separately from DD in general.