[SERVER-6991] Add pool stats for ShardedConnection Created: 10/Sep/12 Updated: 27/Oct/15 Resolved: 18/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.4, 2.4.2, 2.5.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Currently, the connPoolStats will only get stats from the extern pool object. This is linked to the pool ScopedDBConnection uses and it does not include the shardConnectionPool. Add a new command called "shardConnPoolStats" which will show information on the per thread (incoming connection) connection status. Sample output for a sharded cluster with a single replica set below:
|
| Comments |
| Comment by auto [ 20/Mar/13 ] |
|
Author: {u'date': u'2013-03-20T16:26:48Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 20/Mar/13 ] |
|
Author: {u'date': u'2013-03-14T19:03:03Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 20/Mar/13 ] |
|
Author: {u'date': u'2013-03-14T18:05:02Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 19/Mar/13 ] |
|
Author: {u'date': u'2013-03-14T19:03:03Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 18/Mar/13 ] |
|
Author: {u'date': u'2013-03-14T18:05:02Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |