In this KB
- Enabling New Relic agent
- Launching New Relic APM
- Application-specific metrics
- Adjusting alert policies
- Frequently Asked Questions
As part of our agreement with New Relic, we are providing New Relic APM Lite integrated with all our servers/applications.
New Relic application monitoring will allow you to get extremely helpful insights about your application performance and issues allowing you to perform much more effective troubleshooting.
This Newbie’s guide to New Relic APM should be a great reading to get you started.
We are going to explain now how to access your New Relic APM account from the Cloudways console and cover some common questions.
Step 1: Enabling the New Relic agent
Log into the Cloudways Platform with your credentials. New Relic is deployed to all servers but is left in a disabled state. Before you can use it, you need to enable it. You can disable it again anytime in case you don’t need it.
Click on Servers in the top menu bar and select the target server on which you want to enable New Relic.
Now under the Server Management area:
- Click on the Manage Services section.
- Enable New Relic service.
Step 2: Launching New Relic APM
Once New Relic service is enabled, click on the Monitoring section under the Server Management area:
- Select the Application tab.
- Click on the Launch App Monitoring button.
Step 3: New Relic APM
- This will launch New Relic APM in a new browser tab.
- You will see a list of all the applications on your server. You can click on any to get a detailed view of it.
- You will notice one of the applications starts with General… This is a bucket that will catch traffic to the server that is not directly related to a specific application (i.e. crons, platform API calls ..). Most users should focus on application specific data.
- If you have problems identifying your applications, you can find out the Cloudways name for each application in the Domain Management section under the Application Management area. Refer to the screenshot below.
- You can then customize the application name to whatever you want in New Relic APM as explained in the Frequently Asked Questions section below.
Step 4: Application-specific Metrics
- When you click the link for a specific application you will get a wealth of data related to it.
- Explaining all the information that you have there is beyond the scope of this KB. We strongly advise you to go over New Relic APM documentation to make the most out of it.
Step 5: Adjust Alerting Policies
New Relic can be a bit chatty when monitoring your applications. Luckily it also offers a fine grained control over which alerts you will receive and when.
- You can access alerting settings from the Alerts tab in the main New Relic APM window (same location all applications are listed). From there you can disable, tweak, delete or create alert policies.
- There are three policy sets that generate alerts that you may adjust to your needs: Application Policies, Key Transaction Policies, Server Policies.
- Application Policies refer to alerts related to your application performance.
- Key Transaction Policies allow you to monitor key transactions for your business (sign-up, sales …).
- Server Policies control alerts are related to excessive server resource usage (CPU, memory, disk …).
- Go over the Alerts documentation for more information.
Note: If you upgrade to a paid version of New Relic and want to use it with one of your Cloudways servers, please contact support with the New Relic license key and we will deploy it to the server you specify.
Frequently Asked Questions:
1) How do I change the application name on New Relic console so I can easily identify it ?
- Choose the application that you want to change the name for (1).
- Click the settings icon (2). And then click on Change Settings.
- Set the name you want (4).
- And click on Save Application Settings (4).
2) How do I clear applications in the New Relic console that are deleted/removed from the Cloudways servers ?
When you remove an application from a server or remove the server altogether, New Relic doesn’t offer a way to automatically remove it from the console. This is a manual, albeit simple, process.
- Choose the application to remove (1) and click on the settings icon (2).
- Click on Delete App and that’s it!