Add in event loop monitoring

This commit is contained in:
James Allen 2016-08-23 09:53:17 +01:00
parent 39cc9cda6d
commit cb62b005f3
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ Path = require "path"
Metrics = require "metrics-sharelatex"
Metrics.initialize("doc-updater")
Metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
Metrics.event_loop.monitor(logger, 100)
app = express()
app.configure ->

View file

@ -13,7 +13,7 @@
"ioredis": "^2.2.0",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.0.0",
"lynx": "0.0.11",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.0.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0",
"mongojs": "0.9.11",
"redis-sharelatex": "0.0.9",
"request": "2.25.0",