Details
-
Improvement
-
Status: Backlog
-
Major - P3
-
Resolution: Unresolved
-
2.4.0-rc3
-
None
-
Fully Compatible
Description
Extend support for full projection for each ServerStatus section.
And allow toggling the default inclusion state via "$default" or "$excludeByDefault".
> db.serverStatus({$default:0, mem:1, metrics:{record:1, "ttl.passes":1}}) |
{
|
"host" : "pans.local", |
"version" : "2.5.0-pre-", |
"process" : "mongod", |
"pid" : 20578, |
"uptime" : 400, |
"uptimeMillis" : NumberLong(399493), |
"uptimeEstimate" : 369, |
"localTime" : ISODate("2013-03-18T00:12:07.147Z"), |
"mem" : { |
"bits" : 64, |
"resident" : 39, |
"virtual" : 2727, |
"supported" : true, |
"mapped" : 272 |
},
|
"metrics" : { |
"record" : { |
"moves" : NumberLong(0) |
},
|
"ttl" : { |
"passes" : NumberLong(6) |
}
|
},
|
"ok" : 1 |
}
|