diff --git a/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 b/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 index ddd621424e7..fdb1f55762b 100644 --- a/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 +++ b/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 @@ -22,6 +22,8 @@ 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 {% endif -%} source {{ ecommerce_worker_home }}/{{ ecommerce_worker_service_name }}_env 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 5734c9b7160..fd53fad59d8 100644 --- a/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 +++ b/playbooks/roles/insights/templates/edx/app/insights/insights.sh.j2 @@ -22,6 +22,8 @@ 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 {% endif -%} source {{ insights_app_dir }}/insights_env