Skip to content

Commit

Permalink
Merge pull request #30 from edx/revert-27-ihassan/GSRE-1715_enable_da…
Browse files Browse the repository at this point in the history
…ta_streaming_apm_profiling

Revert "chore: Enable Data streaming and APM profiling edxapp, forum and django service"
  • Loading branch information
syedimranhassan committed Jun 3, 2024
2 parents 3b26f5e + 985a1df commit dfcbdde
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
# other trace-related configs that are documented seem to help, but
# from testing DD_TRACE_LOG_STREAM_HANDLER=false seems to help.
export DD_TRACE_LOG_STREAM_HANDLER=false
export DD_PROFILING_ENABLED=true
export DD_DATA_STREAMS_ENABLED=true
{% endif -%}

export EDX_REST_API_CLIENT_NAME="{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}-{{ edx_django_service_name }}"
Expand Down
2 changes: 0 additions & 2 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
export DD_TRACE_LOG_STREAM_HANDLER=false
# Datadog's instrumentation breaks pymongo: https://github.com/edx/edx-arch-experiments/issues/580
export DD_TRACE_PYMONGO_ENABLED=false
export DD_PROFILING_ENABLED=true
export DD_DATA_STREAMS_ENABLED=true
{% endif -%}

export PORT="{{ edxapp_cms_gunicorn_port }}"
Expand Down
2 changes: 0 additions & 2 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
export DD_TRACE_LOG_STREAM_HANDLER=false
# Datadog's instrumentation breaks pymongo: https://github.com/edx/edx-arch-experiments/issues/580
export DD_TRACE_PYMONGO_ENABLED=false
export DD_PROFILING_ENABLED=true
export DD_DATA_STREAMS_ENABLED=true
{% endif -%}

export PORT="{{ edxapp_lms_gunicorn_port }}"
Expand Down
2 changes: 0 additions & 2 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export DD_DJANGO_USE_LEGACY_RESOURCE_FORMAT=true
export DD_TRACE_LOG_STREAM_HANDLER=false
# Datadog's instrumentation breaks pymongo: https://github.com/edx/edx-arch-experiments/issues/580
export DD_TRACE_PYMONGO_ENABLED=false
export DD_PROFILING_ENABLED=true
export DD_DATA_STREAMS_ENABLED=true
{% endif -%}


Expand Down
2 changes: 0 additions & 2 deletions playbooks/roles/forum/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ forum_base_env: &forum_base_env
DD_TAGS: "{{ FORUM_DD_TAGS }}"
DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT: "true"
DD_TRACE_LOG_STREAM_HANDLER: "false"
DD_PROFILING_ENABLED: "true"
DD_DATA_STREAMS_ENABLED: "true"

forum_env:
<<: *forum_base_env
Expand Down

0 comments on commit dfcbdde

Please sign in to comment.