Skip to content

Commit

Permalink
feat: Use v2 of the Datadog Profiler stack.
Browse files Browse the repository at this point in the history
It seems like the newer version might be more efficient,
so we should switch to using it.

edx/edx-arch-experiments#749
  • Loading branch information
dianakhuang committed Nov 12, 2024
1 parent 85c7b26 commit 4bae081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
1 change: 1 addition & 0 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 4bae081

Please sign in to comment.