track network in/out SERVER-2081

This commit is contained in:
Eliot Horowitz
2010-11-09 00:14:52 -05:00
parent dd56085dbe
commit 0c7e7101a6
8 changed files with 54 additions and 12 deletions

View File

@@ -141,6 +141,13 @@ namespace mongo {
asserts.append( "rollovers" , assertionCount.rollovers );
asserts.done();
}
{
BSONObjBuilder bb( result.subobjStart( "network" ) );
networkCounter.append( bb );
bb.done();
}
return 1;
}