Review MongoDB Processes
On this page
Monitor cluster metrics to identify performance issues and determine whether your current cluster meets your requirements. For more information on the metrics available to monitor your clusters, see Review Available Metrics.
To return the details for the MongoDB process you specify using the Atlas CLI, run the following command:
atlas processes describe <hostname:port> [options]
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas processes describe.
To list MongoDB processes for your project using the Atlas CLI, run the following command:
atlas processes list [options]
To list MongoDB processes for the host you specify using the Atlas CLI, run the following command:
atlas metrics processes <hostname:port> [options]
To learn more about the syntax and parameters for the previous commands, see the Atlas CLI documentation for atlas processes list and atlas metrics processes.
To view the metrics for a specific MongoDB process using the Atlas UI:
In Atlas, go to the Clusters page for your project.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
If it's not already displayed, click Clusters in the sidebar.
The Clusters page displays.
You can monitor different aspects of your cluster in one place focused on a process. To learn more about the Clusters view, see View Cluster Details.
The Atlas process view displays three tabs for monitoring metrics for the process:
The Status tab displays the process metrics Atlas collects from the selected
mongod
ormongos
process.The Hardware tab displays hardware metrics for the host machine supporting the selected
mongod
ormongos
process.The DB Stats tab displays the database metrics for the selected database.
Atlas retrieves database metrics every 20 minutes by default but adjusts frequency when necessary to reduce the impact on database performance. If the collection of database statistics still affects performance, you can disable collection:
In Atlas, go to the Project Settings page.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
Next to the Projects menu, expand the Options menu, then click Project Settings.
The Project Settings page displays.
Set Collect Database Specific Statistics to No.
The view for each tab has three distinct sections:
Note
Monitoring Data Storage Granularity
Atlas stores metrics data at increasing granularity levels. For more information, see Monitoring Data Storage Granularity.
Chart Controls
Atlas provides the following controls for the Status, Hardware, and DB Stats views. Adjusting any of these options affects all charts displayed under the selected view:
Control | Function |
---|---|
Granularity | Modifies the granularity of metrics displayed for each chart.
Select a granularity, usually between 1 minute and 1 day (24
hours). Select Atlas supports a 10 second granularity only on |
Zoom | Modifies the date range of metrics displayed for each chart. Select a zoom range between 1 hour and 5 years. Adjusting the Zoom automatically adjusts the Current Display date range. |
Current Display | Modifies the start and end date-time range of metrics displayed
for each chart. Modifying the start and end date sets the
value of Zoom to |
Add Chart | Select one or more charts to display or hide. Adding charts using this dropdown is identical to adding charts from the Toggle Charts section of the Metrics view. |
Select Database | Only visible for the DB Stats view. Selects the database for which to display metrics. |
Display Opcounters on Separate Charts | Directs Atlas to split the Opcounters chart into
its individual components. You can then choose to chart one or
more of those components. If you select this checkbox, Atlas
displays the number of the following operations per second
on the
If you deployed Search Nodes for workload isolation, you can't view opcounters on separate charts in the Search Nodes tab. To group opcounters metrics in the Search Nodes tab, select the Group Opcounters metrics checkbox. |
Display Timeline Annotations | Directs Atlas to display or hide chart annotations. Chart annotations consist of colored vertical lines that indicate server events, such as a server restart or a transition in member state. If you deployed Search Nodes for workload isolation, you can't display or hide chart annotations in the Search Nodes tab. |
Chart Display
When viewing charts, you can do the following:
Task | Action |
---|---|
View a detailed description of a chart. | Hover your mouse over the chart to display the context menu. Click next to the chart name to open the Chart Info modal. This modal includes a breakdown of the chart's data series, the annotations available for that chart, and the operations the chart supports. |
Expand a chart. | Hover your mouse over the chart to display the context menu. Click the two-way arrow at the top right of the chart. |
Zoom in on a period of time. | Click and drag the mouse pointer over a portion of the chart. To reset to the originally selected range (zoom out), double-click the chart. When you zoom in on one period of time, the Current Display date range in the chart control section automatically updates to reflect the selected period. |
View statistics at a particular time. | Hover the mouse pointer over a point on the chart. |
Move a chart. | Click and hold the grabber in the upper left corner of the chart, and drag the chart to the new position. |
Share a URL to the chart. | Hover your mouse over the chart to display the context menu. Click the curved arrow on the chart. Select Chart Permalink to retrieve a URL to the chart. Select Email Chart to email the chart. The recipient of the chart URL must have a Atlas user account with access to the project and cluster. |
Chart Selection
Atlas displays the available metrics to chart for the selected cluster under the Toggle Charts header.
Charts marked with the +
symbol are inactive,
while charts marked with the -
symbol are active. Click
on any chart to toggle the chart state.