Skip to content

Commit

Permalink
fix: args shenanagins
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhaugh authored May 10, 2024
1 parent 2c739c3 commit 8e2c697
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ fi

{% if COMMON_ENABLE_DATADOG and COMMON_ENABLE_DATADOG_APP %}
{% set executable = edxapp_venv_bin + '/ddtrace-run ' + executable %}
export DD_TAGS=$(dd_tags)
export DD_TAGS="$1"
export DD_DJANGO_USE_LEGACY_RESOURCE_FORMAT=true
# Copied from edx_django_service playbook for consistency; Datadog
# trace debug logging issue doesn't actually affect edxapp for some
# reason.
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
shift
{% endif -%}

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

0 comments on commit 8e2c697

Please sign in to comment.