[SERVER-29938] Refactor FTDC Created: 30/Jun/17  Updated: 30/Oct/23  Resolved: 30/Jun/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.4.14, 3.5.10

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Platforms 2017-07-10
Participants:

 Description   

Changes the 'ftdc_mongod' library into two libraries:
ftdc_server - common code to be shared between mongod and mongos
ftdc_mongod - MongoD specific code

The refactor is just a copy paste with the following changes:
1. Add a RegisterCollectorsFunction so that mongod/mongos can register their own unique collectors.
2. Expose FTDCSimpleInternalCommandCollector as a collector in the header file that both MongoD and MongoS can use. This continues to remains separate from the 'ftdc' base library to ensure the the 'ftdc' library does not take a dependency on 'db/commands'. The implementation has not changed, only code motion.



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

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-29938 FTDC Refactor

(cherry picked from commit 4d8405a45c7be94f1022ae3d3de4731e2bf9632b)
Branch: v3.4
https://github.com/mongodb/mongo/commit/2b8d573e40fe26b9285a053ed3b7a8e62f68c2e2

Comment by Githook User [ 30/Jun/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-29938 FTDC Refactor
Branch: master
https://github.com/mongodb/mongo/commit/4d8405a45c7be94f1022ae3d3de4731e2bf9632b

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