Skip to content

Commit a3287d5

Browse files
committed
chore: Set DD_SERVICE Environment Variable for edxapp
1 parent 709463e commit a3287d5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
1313
export DD_GIT_COMMIT_SHA="{{ app_version }}"
1414
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
1515
export DD_LOGS_INJECTION=true
16+
export DD_SERVICE="edx-edxapp-cms"
1617
# Copied from edx_django_service playbook for consistency; Datadog
1718
# trace debug logging issue doesn't actually affect edxapp for some
1819
# reason.

playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
1313
export DD_GIT_COMMIT_SHA="{{ app_version }}"
1414
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
1515
export DD_LOGS_INJECTION=true
16+
export DD_SERVICE="edx-edxapp-lms"
1617
# Copied from edx_django_service playbook for consistency; Datadog
1718
# trace debug logging issue doesn't actually affect edxapp for some
1819
# reason.

playbooks/roles/edxapp/templates/edx/app/edxapp/worker.sh.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export DD_DJANGO_USE_LEGACY_RESOURCE_FORMAT=true
1313
export DD_GIT_COMMIT_SHA="{{ app_version }}"
1414
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
1515
export DD_LOGS_INJECTION=true
16+
export DD_SERVICE="edx-edxapp-${SERVICE_VARIANT}-workers"
1617
# Copied from edx_django_service playbook for consistency; Datadog
1718
# trace debug logging issue doesn't actually affect edxapp for some
1819
# reason.

0 commit comments

Comments
 (0)