This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.
This version of the manual is no longer supported.

Integrate with a Monitoring Service

You can use a third-party application to view and analyze the performance metrics that Ops Manager collects about your deployment.

At this time, you can either build a monitoring integration using the Ops Manager API or integrate Ops Manager with New Relic.


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.

Develop Monitoring Integrations with Ops Manager API

You can build a monitoring integration using the Ops Manager API monitoring and alerts endpoints

Integrate with New Relic

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


  • To integrate Ops Manager with New Relic, you must be able to access New Relic servers over the internet. For details on New Relic network requirements, refer to the New Relic Getting Started Guide.
  • You must also have a New Relic account. If you do not have an existing New Relic account, you can sign up at New Relic.


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

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

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

To configure Ops Manager integration with New Relic:


Click Settings, then Project Settings.


Scroll to New Relic Settings and click the pencil icon.


Enter the information you collected from your New Relic account.

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


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


Click Save.

Performance Metrics Available to New Relic

You can also use Insights for New Relic to run analytics on the collected Ops 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