[SERVER-8586] add local/external metrics to serverStatus for network traffic Created: 15/Feb/13 Updated: 23/Feb/23 Resolved: 24/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Backlog - Service Architecture |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | platforms-re-triaged, re-triaged-ticket | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| 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.
E.g.
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. |
| Comments |
| Comment by Lauren Lewis (Inactive) [ 24/Feb/22 ] | |||||||||||||
|
We haven’t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket. | |||||||||||||
| Comment by Andy Schwerin [ 15/Feb/13 ] | |||||||||||||
|
More generally, you'd like traffic per network interface. If you had a machine with one NIC for the internet and one for the LAN, you'd probably be interested in separating those.
| |||||||||||||
| Comment by Ryan Nitz [ 15/Feb/13 ] | |||||||||||||
|
This format would make more sense:
This data could be useful for sharding too... Traffic over external NIC
Traffic over localhost
| |||||||||||||
| Comment by Ryan Nitz [ 15/Feb/13 ] | |||||||||||||
|
Traffic over the local interface is limited by CPU. 780 Mbps over the loopback address is trivial. As you start maxing out the external network, performance becomes inconsistant/unpredictable. If you are doing a bulk import via localhost and it spikes... it really does not matter. Having local versus external numbers gives you finer grained control over alerting. | |||||||||||||
| Comment by Eliot Horowitz (Inactive) [ 15/Feb/13 ] | |||||||||||||
|
Not sure it really matters? |