Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16215

serverStatus network output doesn't include compression details

      https://www.mongodb.com/docs/manual/reference/command/serverStatus/#network

      network : {
         bytesIn : Long("<num>"),
         bytesOut : Long("<num>"),
         numSlowDNSOperations : Long("<num>"),
         numSlowSSLOperations : Long("<num>"),
         numRequests : Long("<num>"),
         tcpFastOpen : {
            kernelSetting : Long("<num>"),
            serverSupported : <bool>,
            clientSupported : <bool>,
            accepted : Long("<num>")
         },
         serviceExecutors : {
            passthrough : {
               threadsRunning : <num>,
               clientsInTotal : <num>,
               clientsRunning : <num>,
               clientsWaitingForData : <num>
            },
            fixed : {
               threadsRunning : <num>,
               clientsInTotal : <num>,
               clientsRunning : <num>,
               clientsWaitingForData : <num>
            }
         },
         "listenerProcessingTime" : { durationMicros: <num> }  // Added in MongoDB 6.1
      }
      

      The example above from the docs is missing the compression document:

      // for example
      Enterprise rs0 [direct: primary] test> db.serverStatus().network
      {
        bytesIn: Long("3515833"),
        bytesOut: Long("11218405"),
        physicalBytesIn: Long("11018"),
        physicalBytesOut: Long("11218405"),
        numSlowDNSOperations: Long("0"),
        numSlowSSLOperations: Long("0"),
        numRequests: Long("15147"),
        tcpFastOpen: {
          serverSupported: true,
          clientSupported: false,
          accepted: Long("0")
        },
        compression: {
          snappy: {
            compressor: { bytesIn: Long("0"), bytesOut: Long("0") },
            decompressor: { bytesIn: Long("0"), bytesOut: Long("0") }
          },
          zstd: {
            compressor: { bytesIn: Long("0"), bytesOut: Long("0") },
            decompressor: { bytesIn: Long("0"), bytesOut: Long("0") }
          },
          zlib: {
            compressor: { bytesIn: Long("0"), bytesOut: Long("0") },
            decompressor: { bytesIn: Long("0"), bytesOut: Long("0") }
          }
        },
        serviceExecutors: {
          passthrough: {
            threadsRunning: 7,
            clientsInTotal: 7,
            clientsRunning: 7,
            clientsWaitingForData: 0
          },
          fixed: {
            threadsRunning: 1,
            clientsInTotal: 0,
            clientsRunning: 0,
            clientsWaitingForData: 0
          }
        }
      }
      

            Assignee:
            alison.huh@mongodb.com Alison Huh
            Reporter:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              41 weeks, 4 days ago