add local/external metrics to serverStatus for network traffic

XMLWordPrintableJSON

    • Service Arch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Service Architecture
              Reporter:
              Ryan Nitz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: