diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2022-10-21 17:09:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-21 18:05:07 +0000 |
commit | 7664638d42f73bd0ccf855846e15269af5b24e68 (patch) | |
tree | 755b19b8e15f6b36d9e2b2b11c3a11e4e90e7734 /src/mongo/s/configure_query_analyzer_cmd.idl | |
parent | 916753069a2d1b0fda32eadf83b9006b9d09b906 (diff) | |
download | mongo-7664638d42f73bd0ccf855846e15269af5b24e68.tar.gz |
SERVER-70755 Reorganize IDL and feature flag code for analyze_shard_key
Diffstat (limited to 'src/mongo/s/configure_query_analyzer_cmd.idl')
-rw-r--r-- | src/mongo/s/configure_query_analyzer_cmd.idl | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/src/mongo/s/configure_query_analyzer_cmd.idl b/src/mongo/s/configure_query_analyzer_cmd.idl index 6dd0cc194f3..395c6b6e72a 100644 --- a/src/mongo/s/configure_query_analyzer_cmd.idl +++ b/src/mongo/s/configure_query_analyzer_cmd.idl @@ -31,35 +31,15 @@ global: imports: - "mongo/db/basic_types.idl" - -enums: - QueryAnalyzerMode: - description: "The query analysis mode for a collection." - type: string - values: - kFull: "full" - kOff: "off" + - "mongo/s/analyze_shard_key_common.idl" structs: - queryAnalyzerConfiguration: - description: "The query analyzer configuration for a collection." - strict: true - fields: - mode: - type: QueryAnalyzerMode - description: "The query analysis mode." - sampleRate: - type: double - description: "The maximum number of queries to sample per second, in total across the - cluster (not per mongos or mongod)." - optional: true - configureQueryAnalyzerResponse: description: "The response for the 'configureQueryAnalyzer' command." strict: false inline_chained_structs: true chained_structs: - queryAnalyzerConfiguration: newConfiguration + QueryAnalyzerConfiguration: newConfiguration commands: configureQueryAnalyzer: @@ -71,4 +51,4 @@ commands: type: namespacestring inline_chained_structs: true chained_structs: - queryAnalyzerConfiguration: configuration + QueryAnalyzerConfiguration: configuration |