diff options
Diffstat (limited to 'src/mongo/db/traffic_recorder.idl')
-rw-r--r-- | src/mongo/db/traffic_recorder.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mongo/db/traffic_recorder.idl b/src/mongo/db/traffic_recorder.idl index fa9cd232c14..3516f461d61 100644 --- a/src/mongo/db/traffic_recorder.idl +++ b/src/mongo/db/traffic_recorder.idl @@ -31,6 +31,7 @@ global: cpp_namespace: "mongo" + cpp_includes: "mongo/db/traffic_recorder_validators.h" imports: - "mongo/idl/basic_types.idl" @@ -75,3 +76,19 @@ commands: stopRecordingTraffic: description: "stop recording Command" namespace: ignored + +server_parameters: + trafficRecordingDirectory: + description: 'Path to directory where traffic recordings will be saved' + set_at: startup + cpp_vartype: std::string + cpp_varname: gTrafficRecordingDirectory + validator: + callback: 'validateTrafficRecordDestination' + + AlwaysRecordTraffic: + description: 'Start server with traffic recording enabled, and ensure all records are flushed. Test only.' + test_only: true + set_at: startup + cpp_vartype: std::string + cpp_varname: gAlwaysRecordTraffic |