Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2533

Accept a filter expression as an alternative to slowMS/sampleRate

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: