I believe that at the moment, MongoDB does not have a tool to view this. Please refer to. This comment from MongoDB engineer.
serverStatus, replSetGetStatus, collStats of local.oplog.rs.stats, buildInfo, getCmdLineOpts, hostInfo - this data is collected in accordance with the latest
To understand the data collected, go to the source code of MongoDB .
source share