> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# Monitor Real-Time Performance

*Only available on M10+ clusters*

The Real-Time Performance Panel (RTPP) monitors and displays current network traffic, database operations on the machines hosting MongoDB in your clusters, and hardware statistics about the hosts. Use RTPP (Real-Time Performance Panel) to visually identify relevant database operations, evaluate query execution times and the ratio of documents scanned to documents returned, monitor network load and throughput, and discover potential replication lag on secondary members of replica sets.

RTPP (Real-Time Performance Panel) displays data from the [primary](https://www.mongodb.com/docs/manual/reference/glossary.md#std-term-primary) member of each replica set. For sharded clusters, RTPP (Real-Time Performance Panel) shows data from the primary of each shard.

**Note:**

RTPP (Real-Time Performance Panel) might not work if your workload triggers [`db.currentOp()`](https://www.mongodb.com/docs/manual/reference/method/db.currentOp.md#mongodb-method-db.currentOp) output that is greater than the RTPP (Real-Time Performance Panel) maximum size of 4MB per sample.

## Required Access

To enable or disable Real-Time Performance Panel for a project, you must have [`Project Owner`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Owner) access. Users with [`Organization Owner`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Organization-Owner) access must add themselves to the project as a `Project Owner`.

To view real-time performance in the Real-Time Performance Panel, you must have Project Read Only, [`Project Observability Viewer`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Observability-Viewer), [`Project Data Access Read Only`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Data-Access-Read-Only), [`Project Data Access Read/Write`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Data-Access-Read-Write), [`Project Data Access Admin`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Data-Access-Admin), or [`Project Real Time Performance Operator`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Real-Time-Performance-Operator) access to the project.

## Enable or Disable the Real-Time Performance Panel

Real-Time Performance Panel is enabled by default. To disable or enable the Real-Time Performance Panel for a project:

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

   In the sidebar, click the  icon next to Project Overview.

   The [Project Settings](https://cloud.mongodb.com/go?l=https%3A%2F%2Fcloud.mongodb.com%2Fv2%2F%3Cproject%3E%23%2Fsettings%2FgroupSettings) page displays.

2. Toggle the button next to Real-Time Performance Panel.

## Access the Real-Time Performance Panel

To view the Real-Time Performance Panel:

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

   In the sidebar, click Clusters under the Database heading.

   The [Clusters](https://cloud.mongodb.com/go?l=https%3A%2F%2Fcloud.mongodb.com%2Fv2%2F%3Cproject%3E%23%2Fclusters) page displays.

2. Click the cluster whose current operations you want to evaluate.

   If the replica set is part of a sharded cluster, first click the sharded cluster containing the replica set.

3. Click the member of the replica set that you want to view.

4. Click Real Time.

   Atlas displays the data as a graph. Click Table to view the data as a table.

5. (Optional) Click Pause to stop RTPP from displaying incoming data. Click Play to resume.

## Graph View

| Chart/Location | Description |
| --- | --- |
| Connections, Network In, Network Out (Top of panel) | Displays the number of current connections to the machine hosting MongoDB and the number of inbound and outbound bytes as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
| CPU, Disk IOPS, and Sys Mem (Top of panel) | Displays the currently used percentage of CPU, disk read and write operations per second, and the total physical memory usage, excluding buffers and swap space, of the machine hosting MongoDB. |
| Operations | Displays the number of operations as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
| Query Execution Times | Displays latency statistics for current read requests, write requests, and other database commands. Available in MongoDB 3.6 or later. See `opLatencies` at [serverStatus](https://www.mongodb.com/docs/manual/reference/command/serverStatus/) for more information. On an Atlas Infinite cluster, these metrics describe the compute nodes rather than the storage layer. To learn more, see [MongoDB Atlas Infinite: Architecture.](https://www.mongodb.com/docs/atlas/infinite/atlas-infinite-architecture.md#std-label-atlas-infinite-architecture) |
| Query Targeting | Displays the ratio of documents and objects scanned to documents and objects returned in current queries. These statistics are useful in determining if and how a query uses an index. See [Analyze Query Performance](https://www.mongodb.com/docs/manual/tutorial/analyze-query-plan/) for more information. The [change streams](https://www.mongodb.com/docs/manual/changeStreams/) cursors that the MongoDB Search process (`mongot`) uses to keep MongoDB Search indexes updated can contribute to the query targeting ratio and trigger [query targeting alerts](https://www.mongodb.com/docs/atlas/reference/alert-conditions.md#std-label-query-targeting-alerts) if the ratio is high. |
| Reads & Writes | Displays the number of active reads, queued reads, active writes, and queued writes as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
| Replication Lag | Available only for secondary members of a replica set. Displays the time required to replicate operations from the primary to the secondary members of a replica set. See [Replica Set Secondary Members](https://www.mongodb.com/docs/manual/core/replica-set-secondary/) for more information. |
| Hottest Collections | Displays the collections with the most operations as reported by [`mongotop`](https://www.mongodb.com/docs/database-tools/mongotop.md#mongodb-binary-bin.mongotop). For each hot collection, the table also displays the Utilization Percent for  the collection. Utilization Percent is calculated from the read and write times as reported by [`mongotop`](https://www.mongodb.com/docs/database-tools/mongotop.md#mongodb-binary-bin.mongotop) during a sample period. Specifically, the Utilization Percent is the percentage (rounded to the nearest 0.1%) of the read and write times for a collection relative to the read and write times for all collections in the deployment during the sample period. If no read and write operation occur during this period, the Utilization Percent will be 0%. The hottest collections correspond to the most current time displayed in the charts. That is, if the display is running (i.e. not paused), the collections correspond to the hottest collections at the current timestamp. If the display is paused, the collections correspond to the hottest collections at the paused time. If you have [Queryable Encryption](https://www.mongodb.com/docs/manual/core/queryable-encryption/) enabled for a collection, the RTPP (Real-Time Performance Panel) doesn't display the collection in this location. Atlas redacts this information. |
| Slowest Operations | Displays the slowest operations as reported by [db.currentOp().](https://www.mongodb.com/docs/manual/reference/method/db.currentOp/) The operations correspond to the most current time displayed in the charts. That is, if the display is running (i.e. not paused), the operations correspond to the slowest operations at the current timestamp. If the display is paused, the operations correspond to the slowest operations at the paused time. Select one of the operations to open the Operation Details panel, where you can terminate the selected operation using the Kill Op button. The Kill Op button issues the [db.killOp()](https://www.mongodb.com/docs/manual/reference/method/db.killOp/) method on the selected operation. To use the Kill Op button, you must have [`Project Owner`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Owner), [`Project Data Access Admin`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Data-Access-Admin), or [`Project Real Time Performance Operator`](https://www.mongodb.com/docs/atlas/reference/user-roles.md#mongodb-authrole-Project-Real-Time-Performance-Operator) access to the project. If you have [Queryable Encryption](https://www.mongodb.com/docs/manual/core/queryable-encryption/) enabled for a collection, the RTPP (Real-Time Performance Panel) hides the JSON view of the query if it involves encrypted fields. Atlas redacts this information. |

### Read Exact Metrics from Graph View

If you pause the Graph view of the Real-Time Performance Panel, you can hover over a line graph to see its exact value, along with the slowest operations and hottest collections, at a given moment in time.

Pausing the Performance Panel does not affect the collection of the underlying data. When you resume the Graph view, the line graphs restart from an empty display.

## Table View

Click  to hide or display fields from the table.

| Fields | Description |
| --- | --- |
| CommandsQueriesUpdatesDeletesInsertsGetMores | Displays the number of the specified operations (commands, queries, etc.) as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
| Time / ReadTime / WriteTime / Command | Displays latency statistics for current read requests, write requests, and other database commands. To learn more, see `opLatencies` in [serverStatus.](https://www.mongodb.com/docs/manual/reference/command/serverStatus/) On an Atlas Infinite cluster, these metrics describe the compute nodes rather than the storage layer. To learn more, see [MongoDB Atlas Infinite: Architecture.](https://www.mongodb.com/docs/atlas/infinite/atlas-infinite-architecture.md#std-label-atlas-infinite-architecture) |
| Scanned / ReturnedScanned Objects / Returned | Displays the ratio of documents and objects scanned to documents and objects returned in current queries. These statistics are useful in determining if and how a query uses an index. To learn more, see [Analyze Query Performance.](https://www.mongodb.com/docs/manual/tutorial/analyze-query-plan/) |
| Active ReadersActive WritersQueued ReadersQueued Writers | Displays the number of active reads, queued reads, active writes, and queued writes as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
| Lag Time | Available only for secondary members of a replica set. Displays the time required to replicate operations from the primary to the secondary members of a replica set. To learn more, see [Replica Set Secondary Members.](https://www.mongodb.com/docs/manual/core/replica-set-secondary/) |
| CPUDisk IOPSSys Mem | Displays the currently used percentage of CPU, disk read and write operations per second, and the total physical memory usage, excluding buffers and swap space, of the machine hosting MongoDB. |
| ConnectionsBytes InBytes Out | Displays the number of current connections to the machine hosting MongoDB and the number of inbound and outbound bytes as reported by [`mongostat`.](https://www.mongodb.com/docs/database-tools/mongostat.md#mongodb-binary-bin.mongostat) |
