Skip to content

DOCSP-18660 Remove redundant note from serverStatus #5872

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

Merged
merged 1 commit into from
Sep 22, 2021
Merged
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
188 changes: 0 additions & 188 deletions source/includes/extracts-server-status-projection-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,192 +11,4 @@ content: |
field and set it to ``1`` in the command. To exclude fields that are
included by default, specify the top-level field and set to ``0`` in
the command.
---
ref: _serverStatus-output-changes
content: |

- Starting in MongoDB 5.0, {{operationName}}:

- Added new metrics to track use of Aggregation Pipeline methods:

- :serverstatus:`metrics.commands.update.pipeline`

- :serverstatus:`metrics.commands.findAndModify.pipeline`

- Added new metrics to track use of arrayFilter methods:

- :serverstatus:`metrics.commands.update.arrayFilters`

- :serverstatus:`metrics.commands.findAndModify.arrayFilters`

- Added new metric to track number of times ``newlyAdded`` fields
were automatically removed:

- :serverstatus:`metrics.repl.reconfig.numAutoReconfigsForRemovalOfNewlyAddedFields`

- Replaced :serverstatus:`opReadConcernCounters` with
:serverstatus:`readConcernCounters` to track use of read concern
levels specified by query operations

- Added new metric to track number of incoming connections:

- :serverstatus:`connections.threaded`

- Added new metric to track resharding operations:

- :serverstatus:`shardingStatistics.resharding`

- Added new metric to track service executors:

- :serverstatus:`network.serviceExecutors`

- Added new metrics to track cursors:

- :serverstatus:`metrics.cursor.moreThanOneBatch`

- :serverstatus:`metrics.cursor.totalOpened`

- Added new metric to track hello commands:

- :serverstatus:`connections.exhaustHello`

- Starting in MongoDB 4.4, {{operationName}}:

- Added new metrics to track write concern failures caused
by a custom global default write concern:

- :serverstatus:`metrics.getLastError.default`

- :serverstatus:`metrics.getLastError.default.unsatisfiable`

- :serverstatus:`metrics.getLastError.default.wtimeouts`

- Added new metrics to track authentication mechanism usage:

- :serverstatus:`security.authentication.mechanisms`

Each field in :serverstatus:`security.authentication.mechanisms`
represents an authentication mechanism supported by your
:binary:`~bin.mongod` / :binary:`~bin.mongos` instance, and
includes information on the number of times that mechanism
has been used.

These metrics are also available starting in MongoDB
4.2.6 and 4.0.19.

- Added new topology metrics in :serverstatus:`connections`:

- :serverstatus:`connections.exhaustIsMaster`

- :serverstatus:`connections.awaitingTopologyChanges`

- Added new metrics to track slow DNS and SSL handshake operations
in :serverstatus:`network`:

- :serverstatus:`network.numSlowDNSOperations`

- :serverstatus:`network.numSlowSSLOperations`

- Added new sync source metrics in :serverstatus:`metrics.repl`:

- :serverstatus:`metrics.repl.network.oplogGetMoresProcessed`

- :serverstatus:`metrics.repl.network.oplogGetMoresProcessed.num`

- :serverstatus:`metrics.repl.network.oplogGetMoresProcessed.totalMillis`

- :serverstatus:`metrics.repl.network.replSetUpdatePosition.num`

- :serverstatus:`metrics.repl.syncSource.numSelections`

- :serverstatus:`metrics.repl.syncSource.numTimesChoseSame`

- :serverstatus:`metrics.repl.syncSource.numTimesChoseDifferent`

- :serverstatus:`metrics.repl.syncSource.numTimesCouldNotFind`

- Added new metrics to track aggregation pipeline stage use in
:serverstatus:`metrics.aggStageCounters`.

- Added new metrics to track queries that perform a collection scan:

- :serverstatus:`metrics.queryExecutor.collectionScans`
- :serverstatus:`metrics.queryExecutor.collectionScans.nonTailable`
- :serverstatus:`metrics.queryExecutor.collectionScans.total`

- Added new :serverstatus:`range deletion metrics
<shardingStatistics.rangeDeleterTasks>` in
:serverstatus:`shardingStatistics`.

- Starting in MongoDB 4.2.2, {{operationName}}:

- Added new transaction metrics in :serverstatus:`transactions` for
:binary:`~bin.mongos`:

- :serverstatus:`transactions.currentOpen`

- :serverstatus:`transactions.currentActive`

- :serverstatus:`transactions.currentInactive`

- Starting in MongoDB 4.2.1 (and 4.0.13), {{operationName}} includes:

- :ref:`electionMetrics <server-status-electionMetrics>`

- Starting in MongoDB 4.2, {{operationName}}:

- Returns :serverstatus:`opcounters` and
:serverstatus:`opcountersRepl` metrics as 64-bit integers (i.e.
NumberLong) instead of 32-bit integers (i.e. NumberInt).

- Includes ``trafficRecording`` metrics in its output.

- Added new document count (``countDocs``) metrics in
:serverstatus:`shardingStatistics`.

- Added new unacknowledged writes counts to
:serverstatus:`metrics.repl.network`.

- Added new user operations counts to
:serverstatus:`metrics.repl.stepDown`.

- Added new transaction metrics in :serverstatus:`transactions` for
:binary:`~bin.mongod`.

- Includes :serverstatus:`transactions` metrics for
:binary:`~bin.mongos`.

- Added
:serverstatus:`~logicalSessionRecordCache.sessionCatalogSize`
metric to :serverstatus:`logicalSessionRecordCache`.

- Added
:serverstatus:`~shardingStatistics.countDonorMoveChunkLockTimeout`
metric to :serverstatus:`shardingStatistics`.

- Added ``ReplicationStateTransition`` lock information to
:serverstatus:`locks`.

- Reports ``ParallelBatchWriterMode`` lock information separately from
``Global`` lock information. See :serverstatus:`locks`.

- Starting in MongoDB 4.0.6, {{operationName}} includes:

- :serverstatus:`opReadConcernCounters`

- :serverstatus:`opWriteConcernCounters` (Requires
:parameter:`reportOpWriteConcernCountersInServerStatus` parameter
set to ``true``).

- :serverstatus:`metrics.repl.apply.batchSize`

- Starting in MongoDB 4.0, {{operationName}} includes
:serverstatus:`shardingStatistics` in its output.

- Starting in MongoDB 3.6, {{operationName}} no longer outputs the
``rangeDeleter`` section.

- Starting in MongoDB 3.0, {{operationName}} no longer outputs the
``workingSet``, ``indexCounters``, and ``recordStats`` sections.

...
14 changes: 0 additions & 14 deletions source/includes/extracts-server-status-projection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ inherit:
replacement:
operationName: ":method:`db.serverStatus()`"
---
ref: serverStatus-command-output-change
inherit:
ref: _serverStatus-output-changes
file: extracts-server-status-projection-base.yaml
replacement:
operationName: ":dbcommand:`serverStatus`"
---
ref: serverStatus-method-output-change
inherit:
ref: _serverStatus-output-changes
file: extracts-server-status-projection-base.yaml
replacement:
operationName: ":method:`db.serverStatus()`"
---
ref: serverStatus-opWriteConcernCounters
content: |

Expand Down
4 changes: 0 additions & 4 deletions source/reference/command/serverStatus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5672,7 +5672,3 @@ watchdog
The value set by :parameter:`watchdogPeriodSeconds`. This is the
period between status checks.

Output Changelog
----------------

.. include:: /includes/extracts/serverStatus-command-output-change.rst