Skip to content

Commit

Permalink
Merge pull request #165 from edx/nadeem/set-dd-service-edxapp
Browse files Browse the repository at this point in the history
chore: Set DD_SERVICE Environment Variable for edxapp
  • Loading branch information
nadeemshahzad authored Feb 4, 2025
2 parents 709463e + a3287d5 commit bd22f6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/cms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
export DD_GIT_COMMIT_SHA="{{ app_version }}"
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
export DD_LOGS_INJECTION=true
export DD_SERVICE="edx-edxapp-cms"
# Copied from edx_django_service playbook for consistency; Datadog
# trace debug logging issue doesn't actually affect edxapp for some
# reason.
Expand Down
1 change: 1 addition & 0 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export DD_DJANGO_USE_HANDLER_RESOURCE_FORMAT=true
export DD_GIT_COMMIT_SHA="{{ app_version }}"
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
export DD_LOGS_INJECTION=true
export DD_SERVICE="edx-edxapp-lms"
# Copied from edx_django_service playbook for consistency; Datadog
# trace debug logging issue doesn't actually affect edxapp for some
# reason.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export DD_DJANGO_USE_LEGACY_RESOURCE_FORMAT=true
export DD_GIT_COMMIT_SHA="{{ app_version }}"
export DD_GIT_REPOSITORY_URL="{{ EDXAPP_REPOSITORY_GIT_URL }}"
export DD_LOGS_INJECTION=true
export DD_SERVICE="edx-edxapp-${SERVICE_VARIANT}-workers"
# Copied from edx_django_service playbook for consistency; Datadog
# trace debug logging issue doesn't actually affect edxapp for some
# reason.
Expand Down

0 comments on commit bd22f6c

Please sign in to comment.