[SERVER-24616] Add new getDiagnosticData command Created: 15/Jun/16  Updated: 17/May/23  Resolved: 21/Jul/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.13, 3.3.11

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

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Platforms 17 (07/15/16), Platforms 18 (08/05/16)
Participants:

 Description   

A new command getDiagnosticData will be implemented which will return the most recent BSON document obtained by the FTDC system.



 Comments   
Comment by Alexey Maltsev [ 17/May/23 ]

mark.benvenuto@mongodb.com hi! May you assist, does this command work while connected to mongos? I'm using perconas exporter, which under the hood uses this command and it returns empty result. I've also tried to manually run getDiagnosticData and serverStatus connected to mongo router and getDiagnosticData returned empty data, while serverStatus returns list of metrics. Is it expected behavior?

Update

I've mentioned this comment in command code, saying this command is not supported by mongos, will it be supported in future releases? If yes, is there any ETA?

Comment by Githook User [ 17/Apr/17 ]

Author:

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

Message: SERVER-24616 Add new getDiagnosticData command

(cherry picked from commit c1042b38c9f6469ddcce2dfdf5dacbff0334cd14)
Branch: v3.2
https://github.com/mongodb/mongo/commit/61fc1d72075430bd58c65b1644b8eaa1ca290377

Comment by Githook User [ 21/Jul/16 ]

Author:

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

Message: SERVER-24616 Add new getDiagnosticData command
Branch: master
https://github.com/mongodb/mongo/commit/c1042b38c9f6469ddcce2dfdf5dacbff0334cd14

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