Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
3.5.4
-
None
-
Fully Compatible
-
Query 2017-04-17
Description
The ability to filter profiler and log writes by a sample rate was added under SERVER-4786 for MongoDB 3.6. As currently implemented, this filter applies to all profiler levels, including level 2 which historically could be counted on to write a profiler entry for every operation (regardless of slowms setting). We should consider limiting the sample rate to profiler levels 0 and 1 which will bring it inline with how slowms works.