From 794f0bac762f3eb6a6de525b32da280e72ae550e Mon Sep 17 00:00:00 2001 From: Marcos Date: Tue, 4 Jun 2024 17:30:14 -0300 Subject: [PATCH] chore: Postpone Datadog APM profiling --- .../insights/templates/edx/app/insights/insights.sh.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 b/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 index fd53fad59d8..ef4ad625d8d 100644 --- a/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 +++ b/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 @@ -22,8 +22,12 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true # trace debug logging issue doesn't actually affect edxapp for some # reason. export DD_TRACE_LOG_STREAM_HANDLER=false -export DD_PROFILING_ENABLED=true -export DD_DATA_STREAMS_ENABLED=true + +# TODO: There seems to be some potential issues enabling APM profiling in both NewRelic and Datadog. +# A safe bet would be to enable these after NewRelic profiling is disabled. +# Tracking Ticket: https://2u-internal.atlassian.net/browse/COSMO-296 +# export DD_PROFILING_ENABLED=true +# export DD_DATA_STREAMS_ENABLED=true {% endif -%} source {{ insights_app_dir }}/insights_env