System Statistics
GET
/system/stats
The numbers of the database server for a server overview: uptime, connections, operation counters (totals since the start of the database server) and the state of the replica set. A database user without the role clusterMonitor gives partial true and no uptime, connections and counters; a server that is not part of a replica set has no replicaSet. No host names or addresses.
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Responses
application/json
JSON "uptimeSeconds": 0, "connections": { "current": 0, "available": 0, "totalCreated": 0 }, "opcounters": { "insert": 0, "query": 0, "update": 0, "delete": 0, "getmore": 0, "command": 0 }, "replicaSet": { "name": "string", "state": "string", "memberCount": 0, "healthyMembers": 0 }, "partial": true
{
}
