Add slow_ms as an option for Database.set_profiling_level.

XMLWordPrintableJSON

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

      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 Lawley
            Reporter:
            Kenny Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: