summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorEvan Broder <evan@stripe.com>2016-07-05 21:02:49 -0700
committerDavid Storch <david.storch@10gen.com>2017-01-26 18:35:29 -0500
commit94b37aac060bcc8b10c3eb41f178d84008136f9c (patch)
treef98c9f60273345ea880af48ab14ad7ac8ef167cd /buildscripts
parent249eaae3e1b78ed5c4b6b7425145a23dc658fd75 (diff)
downloadmongo-94b37aac060bcc8b10c3eb41f178d84008136f9c.tar.gz
SERVER-4786 Allow specifying sample rate of slow queries
Adds a sampleRate parameter to the profile command, a value on the interval [0, 1] which indicates which fraction of operations should be randomly sampled for profiling and logging. This allows users to reduce their slowms threshold or increase their profiling level with less performance impact on the system. Closes #1099 Signed-off-by: David Storch <david.storch@10gen.com>
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml7
-rw-r--r--buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml7
2 files changed, 8 insertions, 6 deletions
diff --git a/buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml b/buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml
index c62a50a6d01..075ee977257 100644
--- a/buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml
@@ -41,6 +41,9 @@ selector:
- jstests/core/mr_outreduce2.js # mr temp tables aren't replicated
- jstests/core/opcounters_active.js # off by n problem with opcounters
- jstests/core/opcounters_write_cmd.js # off by n problem with opcounters
+ - jstests/core/profile1.js # system.profile not replicated
+ - jstests/core/profile2.js # system.profile not replicated
+ - jstests/core/profile3.js # system.profile not replicated
- jstests/core/profile_agg.js # system.profile not replicated
- jstests/core/profile_count.js # system.profile not replicated
- jstests/core/profile_delete.js # system.profile not replicated
@@ -52,10 +55,8 @@ selector:
- jstests/core/profile_group.js # system.profile not replicated
- jstests/core/profile_insert.js # system.profile not replicated
- jstests/core/profile_mapreduce.js # system.profile not replicated
+ - jstests/core/profile_sampling.js # system.profile not replicated
- jstests/core/profile_update.js # system.profile not replicated
- - jstests/core/profile1.js # system.profile not replicated
- - jstests/core/profile2.js # system.profile not replicated
- - jstests/core/profile3.js # system.profile not replicated
- jstests/core/read_after_optime.js # verifies read after optime fails on standalone
- jstests/core/remove8.js # db.eval() used
- jstests/core/rename4.js # db.eval() used
diff --git a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
index f9950016db7..4012e322e8f 100644
--- a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
@@ -38,6 +38,9 @@ selector:
- jstests/core/mr_outreduce2.js # mr temp tables aren't replicated
- jstests/core/opcounters_active.js # off by n problem with opcounters
- jstests/core/opcounters_write_cmd.js # off by n problem with opcounters
+ - jstests/core/profile1.js # system.profile not replicated
+ - jstests/core/profile2.js # system.profile not replicated
+ - jstests/core/profile3.js # system.profile not replicated
- jstests/core/profile_agg.js # system.profile not replicated
- jstests/core/profile_count.js # system.profile not replicated
- jstests/core/profile_delete.js # system.profile not replicated
@@ -49,10 +52,8 @@ selector:
- jstests/core/profile_group.js # system.profile not replicated
- jstests/core/profile_insert.js # system.profile not replicated
- jstests/core/profile_mapreduce.js # system.profile not replicated
+ - jstests/core/profile_sampling.js # system.profile not replicated
- jstests/core/profile_update.js # system.profile not replicated
- - jstests/core/profile1.js # system.profile not replicated
- - jstests/core/profile2.js # system.profile not replicated
- - jstests/core/profile3.js # system.profile not replicated
- jstests/core/read_after_optime.js # verifies read after optime fails on standalone
- jstests/core/remove8.js # db.eval() used
- jstests/core/rename4.js # db.eval() used