Accept a filter expression as an alternative to slowMS/sampleRate

XMLWordPrintableJSON

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

      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
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: