Skip to content

Commit 4bae081

Browse files
committed
feat: Use v2 of the Datadog Profiler stack.
It seems like the newer version might be more efficient, so we should switch to using it. edx/edx-arch-experiments#749
1 parent 85c7b26 commit 4bae081

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
2929
# We want to be able to toggle this on separately from DD in general.
3030
{% if EDXAPP_DATADOG_PROFILING_ENABLE %}
3131
export DD_PROFILING_ENABLED=true
32+
export DD_PROFILING_STACK_V2_ENABLED=true
3233
{% endif -%}
3334

3435
export PORT="{{ edxapp_cms_gunicorn_port }}"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
3030
# We want to be able to toggle this on separately from DD in general.
3131
{% if EDXAPP_DATADOG_PROFILING_ENABLE %}
3232
export DD_PROFILING_ENABLED=true
33+
export DD_PROFILING_STACK_V2_ENABLED=true
3334
{% endif -%}
3435

3536
export PORT="{{ edxapp_lms_gunicorn_port }}"

0 commit comments

Comments
 (0)