New Relic have a comprehensive infrastructure and Application Performance Management (APM) platform, which can provide invaluable insights into your technology stack. Specifically, the APM can provide deep level understanding of your PHP code and MySQL/MariaDB queries to eliminate bottlenecks within you website.
While normally a reasonably complex to install, Plesk has an extension available for New Relic which takes care of all the hard work for you. This article will step you through the process of installing and configuring the extension.
New Relic Details
- Login or create your account with New Relic.
- At the top right, select your login then choose “Add more data“:
- Choose CentOS (or applicable OS):
- Select the New Relic account to associate the installation with and take a copy of the license key it generates:
There’s no requirement to proceed with version selection nor installation instructions as this is handled by Plesk.
- Login to your Plesk server.
- On the left hand side, go to Server Management -> Extensions:
- Search for New Relic then click Get It Free to install:
- Once the extension has been installed, open the extension:
- Enter the license key generated from the New Relic process, then enter the server name (eg, hostname) in:
- If you want to use the Infrastructure monitoring, leave Install Infrastructure selected:
- Deselect any unused PHP versions for the APM configuration. For example, if your sites are only running PHP 7.2 and 7.3, ensure only these are selected:
- Click Install to begin the installation. Once this is complete, you should see confirmation that the installation was successful:
- Return to your New Relic login to view the data being sent. You may need to wait for up to 5 minutes before data will be visible.