From 0b32ecffad3af9d900f37c8e3d6af59bd255b7c9 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Thu, 27 Jun 2024 16:15:21 +0000 Subject: [PATCH] feat: Remove alt-license experiment for stage and edge LMS This backs out https://github.com/edx/configuration/pull/45 and https://github.com/edx/configuration/pull/48 --- .../roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 index 01ffba0b8f4..f1cf7f99320 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -17,17 +17,7 @@ if command -v ec2metadata >/dev/null 2>&1; then HOSTNAME=$(hostname) export NEW_RELIC_PROCESS_HOST_DISPLAY_NAME="$HOSTNAME-$INSTANCEID" fi - - -{% if COMMON_ENVIRONMENT == "stage" or COMMON_DEPLOYMENT == "edge" %} -# Testing a temporary workaround for trace concatenation in Datadog. -# (Maybe this will keep NR trace instrumentation in place, but not cost us anything, -# because this free-tier NR account will throw away most data.) -# See https://github.com/edx/edx-arch-experiments/issues/692 -export NEW_RELIC_LICENSE_KEY="{{ EDXAPP_NEWRELIC_LICENSE_TEST_FREE | default('') }}" -{% else %} export NEW_RELIC_LICENSE_KEY="{{ NEWRELIC_LICENSE_KEY }}" -{% endif %} {% endif -%}