Navigation
You were redirected from a different version of the documentation. Click here to go back.

Integrate with New Relic

Note

Available with Cloud Manager Standard and Cloud Manager Premium. To learn more, Contact MongoDB.

Important

Effective Wednesday, June 16th, 2021, New Relic no longer supports the plugin-based integration with MongoDB. We do not recommend that you sign up for the plugin-based integration. To learn more, see the New Relic Plugin EOL Statement. As an alternative, consider New Relic’s MongoDB monitoring integration.

You can configure Cloud Manager to send metric data about your deployment to New Relic for viewing through the New Relic MongoDB plugin.

Prerequisites

  • To integrate Cloud Manager with New Relic, you must have internet access to the New Relic servers. To learn more about the New Relic network requirements, see the New Relic Getting Started Guide.
  • You must also have a New Relic account. If you don’t have an existing New Relic account, you can sign up at New Relic.

Procedure

To enable New Relic to receive metric data about your MongoDB deployment, retrieve the following information from your New Relic account settings. You might need to create new Insights API keys.

  • Account ID
  • License Key
  • Insights API Insert Key
  • Insights API Query Key

You enter this information when you configure the integration. If any of the keys later become invalid, Cloud Manager sends an email to the project owner and eventually removes the invalid credentials.

To configure Cloud Manager integration with New Relic:

1

Click Settings, then Project Settings.

2

Scroll to New Relic Settings and click the pencil icon.

3

Enter the information you collected from your New Relic account.

This information is available in your account settings on New Relic’s website.

4

To test the connection, click Post test to New Relic.

5

Click Save.

Performance Metrics Available to New Relic

You can also use Insights for New Relic to run analytics on the collected Cloud Manager performance metrics:

  • Opcounters
  • Queues
  • Cursors
  • Connections
  • Replication Lag (secondaries only)
  • Memory
  • Page Faults
  • Asserts
  • Journaling Stats (MMAPv1 only)
  • Network
  • WiredTiger Cache Activity
  • WiredTiger Cache Usage
  • WiredTiger Tickets

MongoDB 2.6 and earlier

  • Record Stats
  • Index Stats
  • Lock Percentage