mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add metrics for memory and gc
This commit is contained in:
parent
518dc17fdc
commit
af21e0aec6
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ bodyParser = require('body-parser')
|
|||
metrics = require("metrics-sharelatex")
|
||||
metrics.initialize("spelling")
|
||||
metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
|
||||
metrics.memory.monitor(logger)
|
||||
HealthCheckController = require("./app/js/HealthCheckController")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue