summaryrefslogtreecommitdiff
path: root/src/mongo/s/analyze_shard_key_documents.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/analyze_shard_key_documents.idl')
-rw-r--r--src/mongo/s/analyze_shard_key_documents.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mongo/s/analyze_shard_key_documents.idl b/src/mongo/s/analyze_shard_key_documents.idl
index 190d67d8cde..a3728d6c1cf 100644
--- a/src/mongo/s/analyze_shard_key_documents.idl
+++ b/src/mongo/s/analyze_shard_key_documents.idl
@@ -80,3 +80,24 @@ structs:
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."