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

Accept a filter expression as an alternative to slowMS/sampleRate

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12, 4.0
    • Component/s: None
    • Labels:
    • SERVER fixVersion:
      5.0, 4.4

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: