From 5640ee954ca6eb8a0d2e963c2ea346f5b44c499e Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Fri, 15 Nov 2024 14:54:14 -0500 Subject: [PATCH] feat: turn on DD profiling timeline. --- playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 | 1 + playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 | 1 + 2 files changed, 2 insertions(+) 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 6be5921b271..7e4e36de009 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2 @@ -30,6 +30,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false {% if EDXAPP_DATADOG_PROFILING_ENABLE %} export DD_PROFILING_ENABLED=true export DD_PROFILING_STACK_V2_ENABLED=true +export DD_PROFILING_TIMELINE_ENABLED=true {% endif -%} export PORT="{{ edxapp_cms_gunicorn_port }}" 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 3ff54b14210..3faf9461f26 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -31,6 +31,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false {% if EDXAPP_DATADOG_PROFILING_ENABLE %} export DD_PROFILING_ENABLED=true export DD_PROFILING_STACK_V2_ENABLED=true +export DD_PROFILING_TIMELINE_ENABLED=true {% endif -%} export PORT="{{ edxapp_lms_gunicorn_port }}"