Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8586

add local/external metrics to serverStatus for network traffic

    • Service Arch

      Currently, mongod only reports "all" network traffic on a host. This is useful, but it would also be helpful to see what the traffic is on the local and external interfaces.

      "network": {
           "bytesIn": 5244015264859,
           "numRequests": 2.3714945532E10,
           "bytesOut": 12076697847847
      }
      

      E.g.

      "networkLocal": {
           "bytesIn": 5244015264859,
           "numRequests": 2.3714945532E10,
           "bytesOut": 12076697847847
      }
      
      "networkExternal": {
           "bytesIn": 5244015264859,
           "numRequests": 2.3714945532E10,
           "bytesOut": 12076697847847
      }
      

      I received a system alert because a host was doing ~ 780 Mbps and I was concerned about maxing out the nic. The reality is that all of that traffic was over the local interface.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: