[DOCS-6767] Comment on: "manual/reference/command/connPoolStats.txt" Created: 09/Dec/15  Updated: 30/Oct/23  Resolved: 14/Apr/16

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Kevin Rice Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.org/manual/reference/command/connPoolStats/
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Referrer: https://www.google.com
Screen Resolution: 1920 x 1080
repo: docs
source: reference/command/connPoolStats


Issue Links:
Documented
documents SERVER-20283 connPoolStats command does not includ... Closed
documents SERVER-21597 Fix connPoolStats command to work wit... Closed
Participants:
Days since reply: 7 years, 43 weeks, 5 days ago

 Description   

You need an example here.
I'm not sure how to invoke this - connecting to a mongos, I presume, but beyond that, running db.dbnamehere.connPoolStats() doesn't work, running db.connPoolStats() doesn't either, what's the command? sorry if this a noob question, but your docs should work for noobs, too.



 Comments   
Comment by Githook User [ 16/Apr/16 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-6767 : add example to connPoolStats

R1 : CR Changes

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/57d3d414136fba4ac2853eb07f67b617158b0ab7

Comment by Ravind Kumar (Inactive) [ 14/Apr/16 ]

https://github.com/mongodb/docs/pull/2602

Comment by Kay Kim (Inactive) [ 09/Dec/15 ]

Hi Kevin -
thanks for filing this ticket. We'll most definitely update the page. Until we update the page, on the mongos, issue the following:

db.runCommand( { connPoolStats: 1 } )

Generated at Thu Feb 08 07:52:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.