From 756d44a655bbfde2bb096cafae030992634fd6bf Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Tue, 25 Jun 2024 14:47:24 -0400 Subject: [PATCH] temp: Try sending New Relic traces to a place they'll be thrown out (#48) Testing this in stage and edge LMS. See https://github.com/edx/edx-arch-experiments/issues/692 --- playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 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 9a074ef7540..42c86b8c2b4 100644 --- a/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 +++ b/playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2 @@ -20,11 +20,11 @@ fi {% if COMMON_ENVIRONMENT == "stage" or COMMON_DEPLOYMENT == "edge" %} -# Another attempt at a temporary workaround for trace concatenation in Datadog. +# Testing a temporary workaround for trace concatenation in Datadog. # (Maybe this will keep NR trace instrumentation in place, but not cost us anything, -# because no data will be shipped to NR.) +# 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="xxx" +export NEW_RELIC_LICENSE_KEY="{{ EDXAPP_NEWRELIC_LICENSE_TEST_FREE }}" {% else %} export NEW_RELIC_LICENSE_KEY="{{ NEWRELIC_LICENSE_KEY }}" {% endif %}