mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add in event loop monitoring
This commit is contained in:
parent
39cc9cda6d
commit
cb62b005f3
2 changed files with 2 additions and 1 deletions
|
@ -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 ->
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue