summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js')
-rw-r--r--jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js b/jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js
index 69a6b79ba18..97e4f9df3cf 100644
--- a/jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js
+++ b/jstests/noPassthrough/telemetry/telemetry_collect_on_mongos.js
@@ -73,11 +73,11 @@ const assertExpectedResults = (results,
const telemetryKey = {
queryShape: {
cmdNs: {db: "test", coll: "coll"},
- find: collName,
+ command: "find",
filter: {$and: [{v: {$gt: "?number"}}, {v: {$lt: "?number"}}]},
- batchSize: "?number",
},
readConcern: {level: "local", provenance: "implicitDefault"},
+ batchSize: "?number",
applicationName: "MongoDB Shell",
};
@@ -208,11 +208,11 @@ const assertExpectedResults = (results,
const telemetryKey = {
queryShape: {
cmdNs: {db: "test", coll: "coll"},
- find: collName,
+ command: "find",
filter: {$and: [{v: {$gt: "?number"}}, {v: {$lt: "?number"}}]},
- batchSize: "?number",
},
readConcern: {level: "local", provenance: "implicitDefault"},
+ batchSize: "?number",
applicationName: "MongoDB Shell"
};