Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/includes/example-server-status-projection.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
|operation-name| includes all fields by default, except
:data:`~serverStatus.workingSet`, by default.
:data:`~serverStatus.workingSet`.

.. note::

Expand Down
19 changes: 18 additions & 1 deletion source/reference/command/serverStatus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Definition
.. |operation-name| replace:: :dbcommand:`serverStatus`
.. include:: /includes/example-server-status-projection.rst

.. seealso:: :method:`db.serverStatus()` and :doc:`/reference/server-status`
.. seealso:: :method:`db.serverStatus()`

.. When adding status fields to this document, make sure that the
``docs/source/reference/server-status.txt`` document also
Expand Down Expand Up @@ -1639,6 +1639,23 @@ page.
reports the total amount of time spent loading index entries as
part of the *pre-fetch* stage of replication.

.. data:: serverStatus.storage.freelist.search.bucketExhausted

:data:`~serverStatus.storage.freelist.search.bucketExhausted` reports the
number of times that :program:`mongod` has checked the free list without finding
a suitably large record allocation.

.. data:: serverStatus.storage.freelist.search.requests

:data:`~serverStatus.storage.freelist.search.requests` reports the
number of times :program:`mongod` has searched for available record
allocations.

.. data:: serverStatus.storage.freelist.search.scanned

:data:`~serverStatus.storage.freelist.search.scanned` reports the number of
available record allocations :program:`mongod` has searched.

.. data:: serverStatus.metrics.ttl

:data:`~serverStatus.metrics.ttl` is a sub-document that reports on
Expand Down
9 changes: 9 additions & 0 deletions source/reference/server-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,15 @@ workload of a :program:`mongod` instance.
}
}
},
"storage" : {
"freelist" : {
"search" : {
"bucketExhausted" : <num>,
"requests" : <num>,
"scanned" : <num>
}
}
},
"ttl" : {
"deletedDocuments" : NumberLong(<num>),
"passes" : NumberLong(<num>)
Expand Down