Connect New Relic

New Relic is a popular application performance management (APM) platform.  This integration enables Apptio Cloudability customers to leverage New Relic as their preferred utilization data provider, resulting in improved rightsizing recommendations for Amazon EC2, GCP GCE, and Azure Compute virtual machines. Support for multiple accounts is also included with this integration.

Compared to the native utilization data providers, New Relic provides more precise platform performance metrics (CPU, Network, Disk), and access to guest OS memory metrics. With this higher precision data source, the rightsizing engine surfaces more informed recommendations, providing up to an additional 15 percent savings, on top of the existing savings opportunities, further reducing your cloud spend.

Before you start

The following steps are required to enable New Relic integration with Cloudability successfully:

  • Virtual Machines -Each virtual machine resource needs to have the New Relic infrastructure agent installed. The instructions vary based on the operating system; currently, Linux and Windows are supported.
  • New Relic Accounts

For each New Relic account, you must provide an Account Id and Insights Query Key. Cloudability uses these read-only credentials to retrieve the performance metrics from your associated virtual machine resources via the Insights API .

Steps for integration

  • Enabling Azure integration
In addition to the New Relic agent, Azure integrations are also required for Azure Compute virtual machines. It provides necessary resource-level data like subscription and tenant id to obtain unambiguous resource ids.
  • Obtaining Account Credentials

To manage or obtain your New Relic account credentials:

  1. Go to insights.newrelic.com and switch to the desired account

  2. From the left menu, click Manage data

  3. From the top menu, click API Keys

  4. To create a New Key, click Query Keys [+]

  5. To view or edit an existing key, click the appropriate Edit button new relic account settings screenshot

The below screen allows the customer to create or edit the Notes associated with an Insights Query key.

From this screen, the customer can obtain the following:

  • Account Id (a seven or greater digit number)
  • Insights Query Key (key begins with NRIQ-)

We suggest you label this query key as `cloudability-integration` for tracking and auditing purposes.

newrelic insights screenshot

Entering New Relic Credentials

To integrate the new relic credentials into Cloudability :
  1. In Cloudability , navigate to Settings > Vendor Credentials > Add Datasource > New Relic . The Add New Relic Account panel opens.

    Or

    In Cloudability , navigate to Settings > Vendor Credentials > New Relic . Select Add a Credential . The Add a Credential panel opens.

  2. Enter the New Relic credentials.
  3. Select Save .

    saev newrelic screenshot

How to confirm success

After the credentials are validated, the customer can change, delete, or refresh the credential.
  • To modify a credential, select Edit
  • To delete a credential, select Delete
  • To validate a credential, select Refresh

    newrelic success screenshot

Using Rightsizing

After the setup is complete, the customer can view the rightsizing recommendations from the Data Source column. newrelic rightsizing screenshot

Filter or Sort by Data Source

The customer can filter or sort the list of recommendations by the utilization data source provider.
  • To sort, click on the Data Source column heading and the list will be sorted by this value.
  • To filter, either click on the Data Source value to limit the recommendations to this value, or click the Filters menu, then select Measure = Data Source , Operator = equals , and Value = New Relic .
  • To clear the filter, click the Filter menu, and then delete the condition by clicking the 'x' icon.

    filter datasource screenshot

GCP Integration

For additional information on connecting Google Cloud Platform services to New Relic, see https://docs.newrelic.com/docs/infrastructure/google-cloud-platform-integrations/get-started/connect-google-cloud-platform-services-new-relic/ .