With 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: Login to the Cloudways Console
Go to https://platform.cloudways.com/ and log in with your credentials.
Step 2: Enabling the New Relic agent
New Relic is deployed to all servers but left in disabled state. Before you can use it, you need to enable it. You can disable it again any time in case you don’t need it.
Tap on “Servers” on the top menu bar and select the target server on which you want to enable New Relic.
Now under the Server Management section:
- Click on the “Manage Services” menu option.
- Enable “New Relic” service.
Step 3: Launching New Relic APM
Once New Relic service is enabled, under “Server Management” again click on the “Monitoring” option:
- Select the “Application” tab.
- Click on “Launch App Monitoring“ button.
Step 4: 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 an 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“ menu option under the “Application Management” section. Refer to the screenshot below.
- You can then customize the application name to whatever you want in New Relic APM as explained in the “Common Questions” section below.
Step 5: 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 advice you to go over New Relic APM documentation to make the most out of it.
Step 6: 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.
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!