Skip to content

DOCS-1491 add totalCreated under server status connections #905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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
7 changes: 6 additions & 1 deletion source/reference/server-status-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,16 @@ current memory use:
The ":ref:`server-status-connections`" field reports on MongoDB's
current memory use by the MongoDB process:

.. versionchanged:: 2.4
Added the :data:`~serverStatus.connections.totalCreated` field.

.. code-block:: javascript

"connections" : {
"current" : <num>,
"available" : <num>
"available" : <num>,
"totalCreated" : NumberLong(<num>)

},

.. _server-status-example-extrainfo:
Expand Down
6 changes: 6 additions & 0 deletions source/reference/server-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,12 @@ connections
the database, and the :doc:`/reference/ulimit` document for
more information about system thresholds on available connections.

.. data:: serverStatus.connections.totalCreated

:data:`~serverStatus.connections.totalCreated` provides a count of
**all** connections created to the server. This number includes
connections that have since closed.

.. _server-status-extra-info:
.. _server-status-extra_info:
.. _server-status-extrainfo:
Expand Down