mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:43:46 -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 = require("metrics-sharelatex")
|
||||||
metrics.initialize("spelling")
|
metrics.initialize("spelling")
|
||||||
metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
|
metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
|
||||||
|
metrics.memory.monitor(logger)
|
||||||
HealthCheckController = require("./app/js/HealthCheckController")
|
HealthCheckController = require("./app/js/HealthCheckController")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue