From f8637e22a1836a03fa30d541579674d91474d545 Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Wed, 29 Nov 2023 14:55:22 -0300 Subject: [PATCH] feat: distributed tracing --- bin/newrelic-setup | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/newrelic-setup b/bin/newrelic-setup index 8ff72cb..e124b2c 100755 --- a/bin/newrelic-setup +++ b/bin/newrelic-setup @@ -4,6 +4,7 @@ if [[ ${NR_ENABLED} == true ]]; then sed -i -e "s/"REPLACE_WITH_REAL_KEY"/${NR_LICENSE_KEY}/g" /usr/local/etc/php/conf.d/newrelic.ini sed -i -e "s/PHP Application/${NR_APP_NAME}/g" /usr/local/etc/php/conf.d/newrelic.ini echo "newrelic.enabled = true" | tee -a /usr/local/etc/php/conf.d/newrelic.ini + echo "newrelic.distributed_tracing_enabled = true" | tee -a /usr/local/etc/php/conf.d/newrelic.ini else echo "newrelic.enabled = false" | tee -a /usr/local/etc/php/conf.d/newrelic.ini fi