[SERVER-32269] Cannot specify FTDC output path on Mongos with 3.6.0 Created: 12/Dec/17  Updated: 07/Jan/18  Resolved: 12/Dec/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.0
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Tim Vaillancourt Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Hi MongoDB,

I notice the output path for Mongos' new FTDC support is 'mongos.diagnostic.data' in the log path of the mongos. It seems in version 3.6.0 there is no way to override where this path is located, however.

As the .bson files in FTDC are not really "log files" in a traditional sense this could lead to strange problems with logrotation, also it would be nice to have the flexibility to output this elsewhere regardless.

Lastly, I was unable to find any documentation to tell me where to find the FTDC mongos path, I found it by trial and error. If possible, please add documentation on where the default FTDC directory is when using mongos.



 Comments   
Comment by Tim Vaillancourt [ 12/Dec/17 ]

Nevermind, I can't close the ticket! Please close whenever possible

Comment by Tim Vaillancourt [ 12/Dec/17 ]

Thanks for this setParameter Mark. This resolves what I was asking for in this ticket. Closing this

Comment by Mark Benvenuto [ 12/Dec/17 ]

The output directory can be set with the set parmeter diagnosticDataCollectionDirectoryPath. The documentation is here including the rules for computing the default path: https://docs.mongodb.com/manual/reference/parameters/index.html#param.diagnosticDataCollectionDirectoryPath. Finally, the path is listed in the log file.

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