Network monitoring
Network activity patterns provide another angle of insight into user behavior and system performance. Irregular network usage may indicate a need to redesign your data storage and distribution architecture to better service geographically diverse user bases. Additionally, time-dependent usage patterns can help you schedule maintenance and deployment windows to minimize service disruption.
For information about network activity in a self-hosted deployment, use the following:
db.adminCommand({ "serverStatus" : 1 })['network']
If you’re using MongoDB Ops Manager, MongoDB Cloud Manager, or MongoDB Atlas, navigate to your deployment’s metrics page and consult the Network chart.