 	app.use express.bodyParser()
 	app.use metrics.http.monitor(logger)
 	app.use express.errorHandler()
+
+metrics.injectMetricsRoute(app)
 
 app.post '/user/:user_id', controller.addNotification
 app.get '/user/:user_id', controller.getUserNotifications

mongojs = require('mongojs')
db = mongojs(Settings.mongo.url, ['notifications'])
Path = require("path")
metrics = require("metrics-sharelatex")
metrics.initialize("notifications")
metrics.memory.monitor(logger)

HealthCheckController = require("./app/js/HealthCheckController")

metrics = require("metrics-sharelatex")
metrics.initialize("notifications")
Settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
logger.initialize("notifications-sharelatex")
