diff --git a/source/core/cursors.txt b/source/core/cursors.txt index 0689cfc04b5..b934d2d73a6 100644 --- a/source/core/cursors.txt +++ b/source/core/cursors.txt @@ -106,10 +106,7 @@ Cursor Information ------------------ The :method:`db.serverStatus()` method returns a document that includes -a :data:`~serverStatus.metrics` field. The -:data:`~serverStatus.metrics` field contains a -:data:`~serverStatus.metrics.cursor` field with the following -information: +a :data:`~serverStatus.cursors` field with the following information: - number of timed out cursors since the last server restart @@ -122,13 +119,11 @@ information: - total number of open cursors Consider the following example which calls the -:method:`db.serverStatus()` method and accesses the ``metrics`` field -from the results and then the ``cursor`` field from the ``metrics`` -field: +:method:`db.serverStatus()` method and accesses the ``cursors`` field: .. code-block:: javascript - db.serverStatus().metrics.cursor + db.serverStatus().cursors The result is the following document: