added event loop monitor

This commit is contained in:
Brian Gough 2015-06-23 13:55:33 +01:00
parent 6e4ad90cac
commit aa599b0d90
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ Path = require "path"
Metrics.initialize("docstore")
logger.initialize("docstore")
Metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
Metrics.event_loop?.monitor(logger)
app = express()

View file

@ -10,7 +10,7 @@
"dependencies": {
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.0.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.0.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.1.0",
"mongojs": "0.18.2",
"express": "~4.1.1",
"underscore": "~1.6.0",