[DOCS-4651] Document that .serverStatus() on mongoS's now reports cursor statistics Created: 12/Jan/15  Updated: 16/Mar/15  Resolved: 13/Jan/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.17, mongodb-3.0

Type: Task Priority: Major - P3
Reporter: Michael Paik Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-16767 Add cursor metrics to serverStatus in... Closed
Participants:
Days since reply: 9 years, 5 weeks, 1 day ago

 Description   

As described in the summary. From Mark in linked:

Docs:
db.serverStatus() for mongos now includes metrics for cursors. The goal is to remove the deprecated cursorInfo command in the release after 2.8.

Example:

mongos> db.serverStatus()
{
	"metrics" : {
		"cursor" : {
			"open" : {
				"multiTarget" : NumberLong(0),
				"singleTarget" : NumberLong(0),
				"total" : NumberLong(0)
			}
		},
	},
	"ok" : 1
}

multiTarget - this is for multi-shard cursors.
singleTarget - this is for single shard cursors.
total - sum of singleTarget, and multiTarget



 Comments   
Comment by Githook User [ 13/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4651: add sharded cluster metrics stats
Branch: master
https://github.com/mongodb/docs/commit/65270cbc6abedf14b9f68cd1e2be03fcad2ed296

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