[SERVER-34017] Add command line / config file parameters for slowms and sampleRate on mongos Created: 20/Mar/18  Updated: 29/Oct/23  Resolved: 22/Mar/18

Status: Closed
Project: Core Server
Component/s: Diagnostics, Querying
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11524 Docs for SERVER-34017: Add command li... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2018-03-26
Participants:

 Description   

Command line

Make the --slowms <integer> and --slowOpSampleRate <double> command line parameters available on mongos.

Configuration file

Make the options operationProfiling.slowOpThresholdMs and operationProfiling.slowOpSampleRate available in a mongos config file.



 Comments   
Comment by Githook User [ 22/Mar/18 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch', 'username': 'dstorch'}

Message: SERVER-34017 Add slowms and slowOpSampleRate startup configuration for mongos.

These options can now be set on the command line when
starting mongos, or in a mongos config file, in the exact
same way that they can be set for a mongod.
Branch: master
https://github.com/mongodb/mongo/commit/e881661be28902f18139ad8b831e0885135387ca

Generated at Thu Feb 08 04:35:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.