Skip to content

Commit

Permalink
Merge pull request #34 from moveis-simonetti/php7dot4-distr-trace
Browse files Browse the repository at this point in the history
feat: distributed tracing
  • Loading branch information
lucassabreu authored Nov 29, 2023
2 parents 14e5f97 + f8637e2 commit ed28b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/newrelic-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed28b4e

Please sign in to comment.