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

add local/external metrics to serverStatus for network traffic

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: