- Alerts and Monitoring >
- Integrate with a Monitoring Service
Integrate with a Monitoring Service¶
Note
Available with Cloud Manager Standard and Cloud Manager Premium. For more information, Contact MongoDB.
You can use a third-party application to view and analyze the performance metrics that Cloud Manager collects about your deployment.
At this time, you can either build a monitoring integration using the Cloud Manager API or integrate Cloud Manager with New Relic.
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.
Develop Monitoring Integrations with Cloud Manager API¶
You can build a monitoring integration using the Cloud Manager API monitoring and alerts endpoints
Integrate with New Relic¶
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 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.
Procedure¶
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, Cloud Manager sends an email to the project owner and eventually removes the invalid credentials.
To configure Cloud 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 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