From ad70187e83778793b44ca13a457c09445a005017 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Mon, 6 Jan 2025 16:14:57 -0500 Subject: [PATCH] Revert "temp: enable DD_DJANGO_INSTRUMENT_MIDDLEWARE (#142)" (#151) This reverts commit 5ace2fef280cf117ae0aca555af2f949a1302ff0. --- playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 | 3 +-- playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 | 3 +-- playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) 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 5811477da23..76d81677697 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 @@ -20,8 +20,7 @@ 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. -# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false {% 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 b6f1ebaad3f..d439c30eda6 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -20,8 +20,7 @@ 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. -# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false {% 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 95dd4023ef2..457c0120445 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2 @@ -20,8 +20,7 @@ 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. -# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879 -export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true +export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false {% endif -%} # We want to be able to toggle this on separately from DD in general.