Skip to content

Commit 5ace2fe

Browse files
authored
temp: enable DD_DJANGO_INSTRUMENT_MIDDLEWARE (#142)
Temporarily enabling middleware for end-of-year to avoid deployments if an issue arises, and to not have middleware as a blindspot. See edx/edx-arch-experiments#879
1 parent 6981305 commit 5ace2fe

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false
2020

2121
# Suppress middleware spans because there are about 100 for each request.
2222
# Remove (or set to true) for debugging.
23-
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
23+
# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879
24+
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true
2425
{% endif -%}
2526

2627
# We want to be able to toggle this on separately from DD in general.

playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false
2020

2121
# Suppress middleware spans because there are about 100 for each request.
2222
# Remove (or set to true) for debugging.
23-
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
23+
# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879
24+
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true
2425

2526
{% endif -%}
2627

playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export DD_TRACE_LOG_STREAM_HANDLER=false
2020

2121
# Suppress middleware spans because there are about 100 for each request.
2222
# Remove (or set to true) for debugging.
23-
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
23+
# Temporarily enabled as part of https://github.com/edx/edx-arch-experiments/issues/879
24+
export DD_DJANGO_INSTRUMENT_MIDDLEWARE=true
2425
{% endif -%}
2526

2627
# We want to be able to toggle this on separately from DD in general.

0 commit comments

Comments
 (0)