Skip to content

Commit e39a646

Browse files
authored
DOCS-16215 Add serverStatus().network.compression Information (#4005)
* DOCS-16215 Add serverStatus().network.compression Information * spacing * extra space * SO feedback * AB feedback * additional feedback
1 parent 47d14ad commit e39a646

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
@@ -2832,6 +2832,20 @@ network
28322832
clientSupported : <bool>,
28332833
accepted : Long("<num>")
28342834
},
2835+
compression : {
2836+
snappy : {
2837+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2838+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2839+
},
2840+
zstd : {
2841+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2842+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2843+
},
2844+
zlib : {
2845+
compressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") },
2846+
decompressor : { bytesIn : Long("<num>"), bytesOut : Long("<num>") }
2847+
}
2848+
},
28352849
serviceExecutors : {
28362850
passthrough : {
28372851
threadsRunning : <num>,
@@ -2846,7 +2860,7 @@ network
28462860
clientsWaitingForData : <num>
28472861
}
28482862
},
2849-
listenerProcessingTime : { durationMicros: <num> } // Added in MongoDB 6.3
2863+
listenerProcessingTime : { durationMicros : <num> } // Added in MongoDB 6.3
28502864
}
28512865

28522866
.. serverstatus:: network
@@ -2946,6 +2960,26 @@ network
29462960
to the :binary:`~bin.mongod` or :binary:`~bin.mongos` since the
29472961
``mongod`` or ``mongos`` last started.
29482962

2963+
.. serverstatus:: network.compression
2964+
2965+
A document that reports on the amount of data compressed and decompressed by
2966+
each network compressor library.
2967+
2968+
.. serverstatus:: network.compression.snappy
2969+
2970+
A document that returns statistics on the number of bytes that have been
2971+
compressed and decompressed with the :term:`snappy` library.
2972+
2973+
.. serverstatus:: network.compression.zstd
2974+
2975+
A document that returns statistics on the number of bytes that have been
2976+
compressed and decompressed with the :term:`zstd` library.
2977+
2978+
.. serverstatus:: network.compression.zlib
2979+
2980+
A document that returns statistics on the number of bytes that have been
2981+
compressed and decompressed with the :term:`zlib` library.
2982+
29492983
.. serverstatus:: network.serviceExecutors
29502984

29512985
.. versionadded:: 5.0

0 commit comments

Comments
 (0)