注意
アベイラビリティーCloud Managerは、オートメーションが管理するMongoDB配置のリアルタイム メトリクスを表示できます。 リアルタイム データの収集には MongoDB Agent が必要です。
Cloud Manager supports real-time metrics for mongod (replica sets and shards) and mongos processes.
リアルタイム メトリクスを表示するには、目的の配置のMetricsボタンをクリックし、次にReal Timeをクリックします。
配置メトリクスを監視してパフォーマンスの問題を特定し、現在の配置が要件を満たしているかどうかを判断します。 配置をモニタリングするために使用できるメトリクスの詳細については、「利用可能なメトリクスの確認 」を参照してください。
この機能にアクセスするには、 Project OwnerまたはProject Data Access Admin Cloud Manager ユーザー ロールが必要です。
右上隅の をクリックすると、 TableまたはGraphのメトリクスを表示できます。
プロジェクトでのリアルタイム パフォーマンス パネルの有効化または無効化
Cloud Manager では、デフォルトでリアルタイム パフォーマンス パネルが有効になります。 この設定を切り替えるには:
MongoDB Cloud Managerで、Project Settings ページに移動します。
まだ表示されていない場合は、希望するプロジェクトを含む組織を選択しますナビゲーション バーのOrganizationsメニュー
まだ表示されていない場合は、ナビゲーション バーのProjectsメニューから目的のプロジェクトを選択します。
サイドバーで、Project Settings をクリックします。
[ Project Settings ]ページが表示されます。
テーブル ビュー
フィールド | 表示 |
|---|---|
Commands Queries Updates Deletes Inserts GetMores | Number of the specified operations (commands, queries, etc.) that mongostat has reported. |
Time / Read Time / Write Time / Command | Latency metrics for current read requests, write requests, and other database commands. Available only for MongoDB 3.4+. To learn more, see |
Scanned / Returned Scanned Objects / Returned | Ratio of documents and objects scanned to documents and objects returned in current queries. These metrics are useful in determining if and how a query uses an index. To learn more, see Analyze Query Performance. |
Active Readers Active Writers Queued Readers Queued Writers | Number of active reads, queued reads, active writes, and queued writes that mongostat has reported. |
Lag Time | Time required to replicate operations from the primary to the secondary members of a replica set. Available only for secondary members of a replica set. To learn more, see Replica Set Secondary Members. |
CPU Disk IOPS Sys Mem | クラスター内のノードのオペレーティング システムに応じて統計情報を取得します。
|
Connections Bytes In Bytes Out | MongoDB をホストしているマシンへの現在の接続数と、 mongostatが報告したインバウンドとアウトバウンドのバイト数。 |
をクリックしますテーブルのフィールドを非表示または表示します。
グラフ ビュー
チャート | 表示 |
|---|---|
Connections, Network In, Network Out | MongoDB をホストしているマシンへの現在の接続数と、 mongostatが報告したインバウンドとアウトバウンドのバイト数。 |
CPU, Disk IOPS, and Sys Mem | 統計情報は、クラスター内のノードのオペレーティング システムによって異なります。
|
Operations | Number of operations as reported by mongostat. |
Query Execution Times | Displays latency metrics for current read requests, write requests, and other database commands. Available only for MongoDB 3.4+. To learn more, see |
Query Targeting | Ratio of documents and objects scanned to documents and objects returned in current queries. These metrics are useful in determining if and how a query uses an index. To learn more, see Analyze Query Performance. |
Reads & Writes | Number of active reads, queued reads, active writes, and queued writes as reported by mongostat. |
Replication Lag | Time required to replicate operations from the primary to the secondary members of a replica set. Available only for secondary members of a replica set. To learn more, see Replica Set Secondary Members. |
Hottest Collections | Collections with the most operations that mongotop has reported. For each hot collection, the table also displays the Utilization Percent for the collection. Utilization Percent is calculated from the read and write times that mongotop has reported 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 may be 0%. ホットテスト コレクションは、チャートに表示される最新の時刻に対応します。 つまり、表示が実行中(一時停止されていない)の場合、コレクションは現在のタイムスタンプで最もホットなコレクションに対応します。 表示が一時停止されている場合、コレクションは一時停止時に最もホットなコレクションに対応します。 |
Slowest Operations | Slowest operations that the 操作は、チャートに表示される最新の時刻に対応します。 つまり、表示が実行中(一時停止されていない)の場合、操作は現在のタイムスタンプで最も遅い操作に対応します。 表示が一時停止されている場合、操作は一時停止時に最も遅い操作に対応します。 Click the operation to view the detailed JSON document that データアクセス管理者ロールを持つユーザーは、操作詳細パネルで操作または非アクティブなトランザクションを強制的に停止するための ボタンにアクセスできます。 低速操作を停止するには
To learn more about transactions, refer to the MongoDB manual. |
グラフでメトリクスを非表示または表示するには、メトリクスのカラーボックスをクリックします。
グラフ ビューから正確なメトリクスを読み込む
リアルタイム パフォーマンス パネルのGraphビューを一時停止すると、折れ線グラフにカーソルを合わせると、その時点の正確な値と、最も遅い操作と最もホットなコレクションを特定の時点で確認できます。
停止と再起動の表示
表示メトリクスの更新を停止するには、[ Pause ] をクリックします。 Pauseは 表示の更新のみを停止し、基礎となるデータのコレクションを一時停止しません。
表示の更新を再開するには、[ Play ] をクリックします。