-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Empty show more show less
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.