summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/coordinator_document.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/coordinator_document.idl')
-rw-r--r--src/mongo/db/s/resharding/coordinator_document.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mongo/db/s/resharding/coordinator_document.idl b/src/mongo/db/s/resharding/coordinator_document.idl
index 543c3216222..2ef63689293 100644
--- a/src/mongo/db/s/resharding/coordinator_document.idl
+++ b/src/mongo/db/s/resharding/coordinator_document.idl
@@ -64,6 +64,16 @@ structs:
# overwrite with a single $set.
mutableState: RecipientShardContext
+ ReshardingCoordinatorMetrics:
+ description: "Contains metrics about the resharding operation on the coordinator."
+ strict: false
+ fields:
+ operationRuntime:
+ type: ReshardingMetricsTimeInterval
+ description: >-
+ The time interval of the entire resharding operation on the coordinator.
+ optional: true
+
ReshardingCoordinatorDocument:
description: "Represents a resharding operation on the coordinator."
inline_chained_structs: true
@@ -109,3 +119,6 @@ structs:
index on in order to prevent multiple resharding operations from being active at
the same time.
default: true
+ metrics:
+ type: ReshardingCoordinatorMetrics
+ description: "Metrics related to the coordinator."