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

Profiler level 2 should not filter on sample rate

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.6
    • Affects Version/s: 3.5.4
    • Component/s: Diagnostics
    • None
    • Fully Compatible
    • Query 2017-04-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: