Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28304

Profiler level 2 should not filter on sample rate

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.6
    • 3.5.4
    • Diagnostics
    • None
    • Fully Compatible
    • Query 2017-04-17

    Description

      The ability to filter profiler and log writes by a sample rate was added under SERVER-4786 for MongoDB 3.6. As currently implemented, this filter applies to all profiler levels, including level 2 which historically could be counted on to write a profiler entry for every operation (regardless of slowms setting). We should consider limiting the sample rate to profiler levels 0 and 1 which will bring it inline with how slowms works.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: