File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,15 @@ if [[ ${NR_ENABLED} == true ]]; then
4
4
sed -i -e " s/" REPLACE_WITH_REAL_KEY" /${NR_LICENSE_KEY} /g" /usr/local/etc/php/conf.d/newrelic.ini
5
5
sed -i -e " s/PHP Application/${NR_APP_NAME} /g" /usr/local/etc/php/conf.d/newrelic.ini
6
6
echo " newrelic.enabled = true" | tee -a /usr/local/etc/php/conf.d/newrelic.ini
7
+
8
+ if [[ ${NR_DISTRIBUTED_TRACING_ENABLED} == true ]]; then
9
+ echo " newrelic.distributed_tracing_enabled = true" | tee -a /usr/local/etc/php/conf.d/newrelic.ini
10
+ fi
11
+
12
+ if [[ ${NR_APPLICATION_LOGGING_ENABLED} == true ]]; then
13
+ echo " newrelic.application_logging.enabled = true" | tee -a /usr/local/etc/php/conf.d/newrelic.ini
14
+ fi
15
+
7
16
else
8
17
echo " newrelic.enabled = false" | tee -a /usr/local/etc/php/conf.d/newrelic.ini
9
18
fi
Original file line number Diff line number Diff line change
1
+ Header append X-Request-UID "%{UNIQUE_ID}e"
You can’t perform that action at this time.
0 commit comments