Now that New Relic is offering a free tier, I’ve started using it to monitor some personal websites.
This particular server was configured using RunCloud, and the New Relic installation script didn’t automatically install New Relic monitoring for RunCloud’s PHP. Here are the steps I followed to get that working:
- Install New Relic APM for PHP following this documentation.
- Find the RunCloud PHP directories:
- Set the
NR_INSTALL_PATHvariable to all the versions I had installed, as described here.
allto install for all versions.
- Reload PHP:
systemctl reload php7*rc-fpm
I found this plugin that adds WordPress-specific knowledge to New Relic reporting.
New Relic allows you to specify multiple app names to group together all the sites on a server, all of one client’s sites, etc. See their documentation for more details.
The WordPress plugin provides the
wp_nr_app_name filter to modify the app name.