Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4651

Document that .serverStatus() on mongoS's now reports cursor statistics

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.17, mongodb-3.0
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Actual Time:
      4

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sam.kleinman Sam Kleinman (Inactive)
              Reporter:
              michael.paik Michael Paik
              Participants:
              Last commenter:
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 36 weeks, 5 days ago
                Date of 1st Reply: