@@ -2804,6 +2804,20 @@ network
2804
2804
clientSupported : <bool>,
2805
2805
accepted : Long("<num>")
2806
2806
},
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
+ },
2807
2821
serviceExecutors : {
2808
2822
passthrough : {
2809
2823
threadsRunning : <num>,
@@ -2818,7 +2832,7 @@ network
2818
2832
clientsWaitingForData : <num>
2819
2833
}
2820
2834
},
2821
- listenerProcessingTime : { durationMicros: <num> } // Added in MongoDB 6.3
2835
+ listenerProcessingTime : { durationMicros : <num> } // Added in MongoDB 6.3
2822
2836
}
2823
2837
2824
2838
.. serverstatus:: network
@@ -2918,6 +2932,26 @@ network
2918
2932
to the :binary:`~bin.mongod` or :binary:`~bin.mongos` since the
2919
2933
``mongod`` or ``mongos`` last started.
2920
2934
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
+
2921
2955
.. serverstatus:: network.serviceExecutors
2922
2956
2923
2957
.. versionadded:: 5.0
0 commit comments