Skip to content

Commit 8612aca

Browse files
authored
DOCS-16215 Add serverStatus().network.compression Information (#4005) (#4079)
* DOCS-16215 Add serverStatus().network.compression Information * spacing * extra space * SO feedback * AB feedback * additional feedback
1 parent e1d7eea commit 8612aca

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
@@ -2804,6 +2804,20 @@ network
28042804
clientSupported : <bool>,
28052805
accepted : Long("<num>")
28062806
},
2807+
compression : {
2808+
snappy : {
2809+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2810+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2811+
},
2812+
zstd : {
2813+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2814+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2815+
},
2816+
zlib : {
2817+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2818+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2819+
}
2820+
},
28072821
serviceExecutors : {
28082822
passthrough : {
28092823
threadsRunning : <num>,
@@ -2818,7 +2832,7 @@ network
28182832
clientsWaitingForData : <num>
28192833
}
28202834
},
2821-
listenerProcessingTime : { durationMicros: <num> } // Added in MongoDB 6.3
2835+
listenerProcessingTime : { durationMicros : <num> } // Added in MongoDB 6.3
28222836
}
28232837

28242838
.. serverstatus:: network
@@ -2918,6 +2932,26 @@ network
29182932
to the :binary:`~bin.mongod` or :binary:`~bin.mongos` since the
29192933
``mongod`` or ``mongos`` last started.
29202934

2935+
.. serverstatus:: network.compression
2936+
2937+
A document that reports on the amount of data compressed and decompressed by
2938+
each network compressor library.
2939+
2940+
.. serverstatus:: network.compression.snappy
2941+
2942+
A document that returns statistics on the number of bytes that have been
2943+
compressed and decompressed with the :term:`snappy` library.
2944+
2945+
.. serverstatus:: network.compression.zstd
2946+
2947+
A document that returns statistics on the number of bytes that have been
2948+
compressed and decompressed with the :term:`zstd` library.
2949+
2950+
.. serverstatus:: network.compression.zlib
2951+
2952+
A document that returns statistics on the number of bytes that have been
2953+
compressed and decompressed with the :term:`zlib` library.
2954+
29212955
.. serverstatus:: network.serviceExecutors
29222956

29232957
.. versionadded:: 5.0

0 commit comments

Comments
 (0)