track network in/out SERVER-2081
This commit is contained in:
@@ -397,6 +397,13 @@ namespace mongo {
|
||||
ClientCursor::appendStats( bb );
|
||||
bb.done();
|
||||
}
|
||||
|
||||
{
|
||||
BSONObjBuilder bb( result.subobjStart( "network" ) );
|
||||
networkCounter.append( bb );
|
||||
bb.done();
|
||||
}
|
||||
|
||||
|
||||
timeBuilder.appendNumber( "after counters" , Listener::getElapsedTimeMillis() - start );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user