Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Review MongoDB Processes

On this page

  • In Atlas, go to the Clusters page for your project.
  • Click the process.
  • Chart Controls
  • Chart Display
  • Chart Selection

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.

Tip

See: Related Links

To view the metrics for a specific MongoDB process using the Atlas UI:

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

2

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 or mongos process.

  • The Hardware tab displays hardware metrics for the host machine supporting the selected mongod or mongos 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:

    1. In Atlas, go to the Project Settings page for your project.

      1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

      2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.

      3. Next to the Projects menu, expand the Options menu, then click Project Settings.

    2. 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.

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 Auto to automatically adjust the granularity based on the selected Zoom or Current Display date controls. Auto granularity selects the highest fidelity granularity available for the time range.

Note

Atlas supports a 10 second granularity only on M40 and larger clusters. To learn more, see Premium Monitoring Granularity.

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 custom and overrides the previously selected zoom level.
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 mongod process:

  • delete

  • getmore

  • insert

  • update

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.

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.

Note

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.

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.

Back

Sharded Clusters

Next

Real-Time Metrics