summaryrefslogtreecommitdiff
path: root/src/mongo/s/analyze_shard_key_common.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/analyze_shard_key_common.idl')
-rw-r--r--src/mongo/s/analyze_shard_key_common.idl18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mongo/s/analyze_shard_key_common.idl b/src/mongo/s/analyze_shard_key_common.idl
index ee6ba4470c1..af352a8ff1e 100644
--- a/src/mongo/s/analyze_shard_key_common.idl
+++ b/src/mongo/s/analyze_shard_key_common.idl
@@ -40,6 +40,24 @@ enums:
kFull: "full"
kOff: "off"
+ SampledReadCommandName:
+ description: "The command name of a sampled read query."
+ type: string
+ values:
+ kFind: "find"
+ kAggregate: "aggregate"
+ kCount: "count"
+ kDistinct: "distinct"
+
+ SampledWriteCommandName:
+ description: "The command name of a sampled write query."
+ type: string
+ values:
+ kInsert: "insert"
+ kUpdate: "update"
+ kDelete: "delete"
+ kFindAndModify: "findAndModify"
+
structs:
QueryAnalyzerConfiguration:
description: "The query analyzer configuration for a collection as configured via the