Skip to content

Commit f24fdce

Browse files
authored
DOCS-16215 Add serverStatus().network.compression Information (#4005) (#4081)
* DOCS-16215 Add serverStatus().network.compression Information * spacing * extra space * SO feedback * AB feedback * additional feedback
1 parent 022fd1c commit f24fdce

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,20 @@ network
24942494
clientSupported : <bool>,
24952495
accepted : Long("<num>")
24962496
},
2497+
compression : {
2498+
snappy : {
2499+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2500+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2501+
},
2502+
zstd : {
2503+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2504+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2505+
},
2506+
zlib : {
2507+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2508+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2509+
}
2510+
},
24972511
serviceExecutors : {
24982512
passthrough : {
24992513
threadsRunning : <num>,
@@ -2607,6 +2621,26 @@ network
26072621
to the :binary:`~bin.mongod` or :binary:`~bin.mongos` since the
26082622
``mongod`` or ``mongos`` last started.
26092623

2624+
.. serverstatus:: network.compression
2625+
2626+
A document that reports on the amount of data compressed and decompressed by
2627+
each network compressor library.
2628+
2629+
.. serverstatus:: network.compression.snappy
2630+
2631+
A document that returns statistics on the number of bytes that have been
2632+
compressed and decompressed with the :term:`snappy` library.
2633+
2634+
.. serverstatus:: network.compression.zstd
2635+
2636+
A document that returns statistics on the number of bytes that have been
2637+
compressed and decompressed with the :term:`zstd` library.
2638+
2639+
.. serverstatus:: network.compression.zlib
2640+
2641+
A document that returns statistics on the number of bytes that have been
2642+
compressed and decompressed with the :term:`zlib` library.
2643+
26102644
.. serverstatus:: network.serviceExecutors
26112645

26122646
.. versionadded:: 5.0

0 commit comments

Comments
 (0)