diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-05-16 14:48:19 -0400 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-05-21 16:35:25 -0400 |
commit | f30e70b5d1ebae87f373de108314993e58309739 (patch) | |
tree | 97b5f921d9329cd573fc76d536105c50196d04d2 /src/mongo/client/replica_set_monitor_manager.h | |
parent | db55694f289d99db4f808a44643130818f3048a4 (diff) | |
download | mongo-f30e70b5d1ebae87f373de108314993e58309739.tar.gz |
SERVER-36099 Trim FTDC connection pool stats
Diffstat (limited to 'src/mongo/client/replica_set_monitor_manager.h')
-rw-r--r-- | src/mongo/client/replica_set_monitor_manager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/client/replica_set_monitor_manager.h b/src/mongo/client/replica_set_monitor_manager.h index 1adf42fb16d..b0a08f8f4e5 100644 --- a/src/mongo/client/replica_set_monitor_manager.h +++ b/src/mongo/client/replica_set_monitor_manager.h @@ -86,9 +86,10 @@ public: void shutdown(); /** - * Reports information about the replica sets tracked by us, for diagnostic purposes. + * Reports information about the replica sets tracked by us, for diagnostic purposes. If + * forFTDC, trim to minimize its size for full-time diagnostic data capture. */ - void report(BSONObjBuilder* builder); + void report(BSONObjBuilder* builder, bool forFTDC = false); /** * Returns an executor for running RSM tasks. |