[DOCS-16215] serverStatus network output doesn't include compression details Created: 21/Jun/23  Updated: 13/Nov/23  Resolved: 20/Jul/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: 7.0.0
Fix Version/s: 7.0.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Improvement Priority: Major - P3
Reporter: Alex Bevilacqua Assignee: Alison Huh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 28 weeks, 6 days ago

 Description   

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
    }
  }
}



 Comments   
Comment by Alison Huh [ 20/Jul/23 ]

PR: https://github.com/10gen/docs-mongodb-internal/pull/4005

Generated at Thu Feb 08 08:14:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.