summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/aggregate_operation_metrics.js7
-rw-r--r--jstests/noPassthrough/change_stream_operation_metrics.js7
-rw-r--r--jstests/noPassthrough/index_build_operation_metrics.js7
-rw-r--r--jstests/noPassthrough/initial_sync_operation_metrics.js1
-rw-r--r--jstests/noPassthrough/profile_operation_metrics.js2
-rw-r--r--jstests/noPassthrough/ttl_operation_metrics.js1
6 files changed, 4 insertions, 21 deletions
diff --git a/jstests/noPassthrough/aggregate_operation_metrics.js b/jstests/noPassthrough/aggregate_operation_metrics.js
index 17ed80d1d23..a1b1ff7a2cc 100644
--- a/jstests/noPassthrough/aggregate_operation_metrics.js
+++ b/jstests/noPassthrough/aggregate_operation_metrics.js
@@ -10,12 +10,7 @@
var rst = new ReplSetTest({
nodes: 2,
- nodeOptions: {
- setParameter: {
- "measureOperationResourceConsumption": true,
- "aggregateOperationResourceConsumptionMetrics": true
- }
- }
+ nodeOptions: {setParameter: {"aggregateOperationResourceConsumptionMetrics": true}}
});
rst.startSet();
rst.initiate();
diff --git a/jstests/noPassthrough/change_stream_operation_metrics.js b/jstests/noPassthrough/change_stream_operation_metrics.js
index beeeffdbadd..4e48d6329a8 100644
--- a/jstests/noPassthrough/change_stream_operation_metrics.js
+++ b/jstests/noPassthrough/change_stream_operation_metrics.js
@@ -11,12 +11,7 @@
const rst = new ReplSetTest({
nodes: 2,
- nodeOptions: {
- setParameter: {
- "measureOperationResourceConsumption": true,
- "aggregateOperationResourceConsumptionMetrics": true
- }
- }
+ nodeOptions: {setParameter: {"aggregateOperationResourceConsumptionMetrics": true}}
});
rst.startSet();
rst.initiate();
diff --git a/jstests/noPassthrough/index_build_operation_metrics.js b/jstests/noPassthrough/index_build_operation_metrics.js
index c954ace91ee..e15e2f1bd45 100644
--- a/jstests/noPassthrough/index_build_operation_metrics.js
+++ b/jstests/noPassthrough/index_build_operation_metrics.js
@@ -12,12 +12,7 @@ load('jstests/noPassthrough/libs/index_build.js'); // For IndexBuildTest
var rst = new ReplSetTest({
nodes: 2,
- nodeOptions: {
- setParameter: {
- "measureOperationResourceConsumption": true,
- "aggregateOperationResourceConsumptionMetrics": true
- }
- }
+ nodeOptions: {setParameter: {"aggregateOperationResourceConsumptionMetrics": true}}
});
rst.startSet();
rst.initiate();
diff --git a/jstests/noPassthrough/initial_sync_operation_metrics.js b/jstests/noPassthrough/initial_sync_operation_metrics.js
index 6bfb0a52cda..2b674b64a70 100644
--- a/jstests/noPassthrough/initial_sync_operation_metrics.js
+++ b/jstests/noPassthrough/initial_sync_operation_metrics.js
@@ -49,7 +49,6 @@ const getDBMetrics = (adminDB) => {
};
const setParams = {
- "measureOperationResourceConsumption": true,
"aggregateOperationResourceConsumptionMetrics": true,
};
diff --git a/jstests/noPassthrough/profile_operation_metrics.js b/jstests/noPassthrough/profile_operation_metrics.js
index e37f5601ee0..35c1cb83372 100644
--- a/jstests/noPassthrough/profile_operation_metrics.js
+++ b/jstests/noPassthrough/profile_operation_metrics.js
@@ -1408,7 +1408,7 @@ const testOperation = (db, operation) => {
};
const setParams = {
- measureOperationResourceConsumption: true
+ profileOperationResourceConsumptionMetrics: true
};
const runTest = (db) => {
diff --git a/jstests/noPassthrough/ttl_operation_metrics.js b/jstests/noPassthrough/ttl_operation_metrics.js
index ab48db74237..42de17ff0ed 100644
--- a/jstests/noPassthrough/ttl_operation_metrics.js
+++ b/jstests/noPassthrough/ttl_operation_metrics.js
@@ -16,7 +16,6 @@ var rst = new ReplSetTest({
nodes: 2,
nodeOptions: {
setParameter: {
- "measureOperationResourceConsumption": true,
"aggregateOperationResourceConsumptionMetrics": true,
"ttlMonitorSleepSecs": 1,
}