Skip to content

Commit 0a55a5c

Browse files
authored
DOCS-16215 Add serverStatus().network.compression Information (#4005) (#4080)
* DOCS-16215 Add serverStatus().network.compression Information * spacing * extra space * SO feedback * AB feedback * additional feedback
1 parent 7d523ca commit 0a55a5c

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

source/reference/command/serverStatus.txt

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2701,6 +2701,20 @@ network
27012701
clientSupported : <bool>,
27022702
accepted : Long("<num>")
27032703
},
2704+
compression : {
2705+
snappy : {
2706+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2707+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2708+
},
2709+
zstd : {
2710+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2711+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2712+
},
2713+
zlib : {
2714+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2715+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2716+
}
2717+
},
27042718
serviceExecutors : {
27052719
passthrough : {
27062720
threadsRunning : <num>,
@@ -2715,7 +2729,7 @@ network
27152729
clientsWaitingForData : <num>
27162730
}
27172731
},
2718-
"listenerProcessingTime" : { durationMicros: <num> } // Added in MongoDB 6.1
2732+
listenerProcessingTime : { durationMicros : <num> } // Added in MongoDB 6.3
27192733
}
27202734

27212735
.. serverstatus:: network
@@ -2815,6 +2829,26 @@ network
28152829
to the :binary:`~bin.mongod` or :binary:`~bin.mongos` since the
28162830
``mongod`` or ``mongos`` last started.
28172831

2832+
.. serverstatus:: network.compression
2833+
2834+
A document that reports on the amount of data compressed and decompressed by
2835+
each network compressor library.
2836+
2837+
.. serverstatus:: network.compression.snappy
2838+
2839+
A document that returns statistics on the number of bytes that have been
2840+
compressed and decompressed with the :term:`snappy` library.
2841+
2842+
.. serverstatus:: network.compression.zstd
2843+
2844+
A document that returns statistics on the number of bytes that have been
2845+
compressed and decompressed with the :term:`zstd` library.
2846+
2847+
.. serverstatus:: network.compression.zlib
2848+
2849+
A document that returns statistics on the number of bytes that have been
2850+
compressed and decompressed with the :term:`zlib` library.
2851+
28182852
.. serverstatus:: network.serviceExecutors
28192853

28202854
.. versionadded:: 5.0

0 commit comments

Comments
 (0)