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

Add slow_ms as an option for Database.set_profiling_level.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      prod

      I don't see any way to effect slowms in the profiler methods for python. I want to set the profiler to slow_only, but also effect slowms like similar to doing the following in the shell:

      db.setProfilingLevel(1,20)

      http://api.mongodb.org/python/2.3/api/pymongo/database.html?highlight=profile

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            kennygorman Kenny Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: