Downstream Change Summary
The profiler accepts a new option, 'filter', which lets you specify a query expression to control which operations are profiled and logged.
The profile command lets you set or unset a filter for a specific database. The config file lets you set a filter on all databases when the process starts.
On mongos, the profile command may now be run against any database, not just admin.
- depends on
-
SERVER-49102 Accept a filter expression as an alternative to slowMS/sampleRate
- Closed
- is related to
-
PYTHON-2662 Deprecate profile command helpers
- Closed