test_kind: js_test description: | This suite enables the collection of telemetry metrics on a mongod server, then runs the tests in core and aggregation as normal. This should cause each query or aggregation to compute a query shape and telemetry key, and record in-memory some metrics like execution time and number of scanned documents. It doesn't assert anything about the collected telemetry, it is just meant to make sure nothing is going seriously awry (e.g. crashing). selector: roots: - jstests/aggregation/**/*.js - jstests/core/**/*.js exclude_files: # Transactions are not supported on MongoDB standalone nodes, so we do not run these tests. - jstests/core/txns/**/*.js executor: archive: hooks: - ValidateCollections hooks: - class: ValidateCollections - class: CleanEveryN n: 20 fixture: class: MongoDFixture mongod_options: set_parameters: enableTestCommands: 1 internalQueryStatsSamplingRate: -1