The way this is written, you have to pull this code into your codebase and modify/replace Metrics in order to use it to its full capacity. It'd be neat to define an interface which a Metrics type module responds to and allow it to be passed in to the constructor of DBConnection so this could be easily published to npm AND support metrics gathering.
The way this is written, you have to pull this code into your codebase and modify/replace
Metricsin order to use it to its full capacity. It'd be neat to define an interface which aMetricstype module responds to and allow it to be passed in to the constructor ofDBConnectionso this could be easily published tonpmAND support metrics gathering.