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

Add slow_ms as an option for Database.set_profiling_level.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      prod

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: