• Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.6
    • Affects Version/s: None
    • Component/s: None
    • None

      Our APM interface is awkward. You need to call a floating function instrument in the top level export, which patches the prototype of a number of different internal types, and then leaves you to create a MongoClient assuming everything worked. Other drivers allow you to pass in some sort of command listener object, additionally allowing you to determine which commands you'd like to listen for. We should clean this up and provide our users with a better interface.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: