add metrics for memory and gc

This commit is contained in:
Brian Gough 2015-08-18 12:31:35 +01:00
parent 518dc17fdc
commit af21e0aec6

View file

@ -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")