[SERVER-7069] serverStatus : option to supress a given section Created: 18/Sep/12  Updated: 11/Jul/16  Resolved: 03/Jan/13

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.2.0
Fix Version/s: 2.3.1

Type: Improvement Priority: Minor - P4
Reporter: Barrie Segal Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Description   

there's the possibility that the code to generate 'dur' (See dbcommands.cpp around line 651) for serverStatus is now including time for recordStats, and is causing serverStatus to slow down. we could provide an option to skip collecting recordStats.



 Comments   
Comment by Daniel Pasette (Inactive) [ 24/Apr/13 ]

This was fixed with these commits and SERVER-8071:

commit 305df5edd9dc4aa891e3529b2f3d113ee4bf637d
Author: Eliot Horowitz <eliot@10gen.com>
Date: Mon Jan 28 17:14:25 2013 -0500

Allow db.serverStatus() to take arguments that pipe through to command

and

commit b56566bf0ec3cb00221e8e951b24f47783ec2af3
Author: Eliot Horowitz <eliot@10gen.com>
Date: Fri Oct 26 17:12:21 2012 -0400

rewrite sererStatus caommands to be modular
allow any code to register sections or metrics without touching core code
have same core serverStatus code for mongos and mongod

Generated at Thu Feb 08 03:13:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.