Skip to content

Commit

Permalink
feat: Remove workaround for django.cache Datadog service tag in edxapp (
Browse files Browse the repository at this point in the history
#162)

This should no longer be necessary as of Datadog 2.19.1 (tested in
devstack).
  • Loading branch information
timmc-edx authored Jan 21, 2025
1 parent f42bdca commit fc42173
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ export DD_PROFILING_TIMELINE_ENABLED=true

{% if EDXAPP_DATADOG_INFERRED_SERVICES_ENABLE %}
export DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED=true
# Temporary: Override django.cache span service tag to match IDA name.
# This *should* be done by DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED
# but it's not working due to a missing `schematize_service_name` call.
# See https://github.com/edx/edx-arch-experiments/issues/737
export DD_DJANGO_CACHE_SERVICE_NAME=edx-edxapp-cms
{% endif -%}

export PORT="{{ edxapp_cms_gunicorn_port }}"
Expand Down
5 changes: 0 additions & 5 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ export DD_PROFILING_TIMELINE_ENABLED=true

{% if EDXAPP_DATADOG_INFERRED_SERVICES_ENABLE %}
export DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED=true
# Temporary: Override django.cache span service tag to match IDA name.
# This *should* be done by DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED
# but it's not working due to a missing `schematize_service_name` call.
# See https://github.com/edx/edx-arch-experiments/issues/737
export DD_DJANGO_CACHE_SERVICE_NAME=edx-edxapp-lms
{% endif -%}

export PORT="{{ edxapp_lms_gunicorn_port }}"
Expand Down
5 changes: 0 additions & 5 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ export DD_PROFILING_ENABLED=true

{% if EDXAPP_DATADOG_INFERRED_SERVICES_ENABLE %}
export DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED=true
# Temporary: Override django.cache span service tag to match IDA name.
# This *should* be done by DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED
# but it's not working due to a missing `schematize_service_name` call.
# See https://github.com/edx/edx-arch-experiments/issues/737
export DD_DJANGO_CACHE_SERVICE_NAME=edx-edxapp-${SERVICE_VARIANT}-workers
{% endif -%}

# We exec so that celery is the child of supervisor and can be managed properly
Expand Down

0 comments on commit fc42173

Please sign in to comment.