summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorDavis Haupt <davis.haupt@mongodb.com>2023-03-20 21:31:46 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-20 22:28:55 +0000
commit5531212069bee2a38fff2e9c926b2748fdb6b523 (patch)
tree7296b423a673b14905e258ac704ea60ef2d61ccc /src/mongo/s/commands/cluster_find_cmd.h
parent7a00cd0798725c1d635885788cff9729936f6456 (diff)
downloadmongo-5531212069bee2a38fff2e9c926b2748fdb6b523.tar.gz
SERVER-73494 Hook new shapification up to telemetry store for find command
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index 00a1378d308..e75ff18fe0b 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -221,7 +221,8 @@ public:
MatchExpressionParser::kAllowAllSpecialFeatures));
if (!_didDoFLERewrite) {
- telemetry::registerFindRequest(cq->getFindCommandRequest(), cq->nss(), opCtx);
+ telemetry::registerFindRequest(
+ cq->getFindCommandRequest(), cq->nss(), opCtx, cq->getExpCtx());
}
try {