added event loop monitor

This commit is contained in:
Brian Gough 2015-06-23 13:50:42 +01:00
parent 84bf0dd9a3
commit 3de841dd71

View file

@ -25,6 +25,8 @@ Modules = require "./Modules"
metrics.mongodb.monitor(Path.resolve(__dirname + "/../../../node_modules/mongojs/node_modules/mongodb"), logger)
metrics.mongodb.monitor(Path.resolve(__dirname + "/../../../node_modules/mongoose/node_modules/mongodb"), logger)
metrics.event_loop?.monitor(logger)
Settings.editorIsOpen ||= true
if Settings.cacheStaticAssets