summaryrefslogtreecommitdiff
path: root/src/mongo/s/analyze_shard_key_documents.idl
diff options
context:
space:
mode:
authorJennifer Peshansky <jennifer.peshansky@mongodb.com>2022-11-03 16:13:20 +0000
committerJennifer Peshansky <jennifer.peshansky@mongodb.com>2022-11-03 16:13:20 +0000
commite74d2910bbe76790ad131d53fee277829cd95982 (patch)
treecabe148764529c9623652374fbc36323a550cd44 /src/mongo/s/analyze_shard_key_documents.idl
parent280145e9940729480bb8a35453d4056afac87641 (diff)
parentba467f46cc1bc49965e1d72b541eff0cf1d7b22e (diff)
downloadmongo-e74d2910bbe76790ad131d53fee277829cd95982.tar.gz
Merge branch 'master' into jenniferpeshansky/SERVER-70854jenniferpeshansky/SERVER-70854
Diffstat (limited to 'src/mongo/s/analyze_shard_key_documents.idl')
-rw-r--r--src/mongo/s/analyze_shard_key_documents.idl71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/mongo/s/analyze_shard_key_documents.idl b/src/mongo/s/analyze_shard_key_documents.idl
index fc1437965b6..b1275858bd3 100644
--- a/src/mongo/s/analyze_shard_key_documents.idl
+++ b/src/mongo/s/analyze_shard_key_documents.idl
@@ -48,3 +48,74 @@ structs:
inline_chained_structs: true
chained_structs:
QueryAnalyzerConfiguration: configuration
+
+ SampledReadCommand:
+ description: "The command object for a sampled read query."
+ strict: false
+ fields:
+ filter:
+ type: object
+ description: "The filter for the read."
+ collation:
+ type: object
+ description: "The collation for the read."
+
+ SampledReadQueryDocument:
+ description: "Represents a document storing a sampled read query."
+ strict: false
+ fields:
+ _id:
+ type: uuid
+ description: "The unique sample id for the read."
+ cpp_name: sampleId
+ ns:
+ type: namespacestring
+ description: "The namespace of the collection for the read."
+ collectionUuid:
+ type: uuid
+ description: "The UUID of the collection for the read."
+ cmdName:
+ type: SampledReadCommandName
+ description: "The command name for the read."
+ cmd:
+ type: object
+ description: "The command object for the read."
+
+ SampledWriteQueryDocument:
+ description: "Represents a document storing a sampled write query."
+ strict: false
+ fields:
+ _id:
+ type: uuid
+ description: "The unique sample id for the write."
+ cpp_name: sampleId
+ ns:
+ type: namespacestring
+ description: "The namespace of the collection for the write."
+ collectionUuid:
+ type: uuid
+ description: "The UUID of the collection for the write."
+ cmdName:
+ type: SampledWriteCommandName
+ description: "The command name for the write."
+ cmd:
+ type: object
+ description: "The command object for the write."
+
+ SampledQueryDiffDocument:
+ description: "Represents a document storing the diff for a sampled write query."
+ strict: false
+ fields:
+ _id:
+ type: uuid
+ description: "The unique sample id for the write."
+ cpp_name: sampleId
+ ns:
+ type: namespacestring
+ description: "The namespace of the collection for the write."
+ collectionUuid:
+ type: uuid
+ description: "The UUID of the collection for the write."
+ diff:
+ type: object
+ description: "The diff for the write."