@@ -64,6 +64,8 @@ app.get "/health_check/redis", (req, res, next) ->
else
res.sendStatus 200
+Metrics.injectMetricsRoute(app)
+
Router = require "./app/js/Router"
Router.configure(app, io, sessionSockets)
@@ -1358,9 +1358,9 @@
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz"
},
"metrics-sharelatex": {
- "version": "66a57435e602ba5cfff15b50085389fb715907a1",
- "from": "git+https://github.com/sharelatex/metrics-sharelatex.git#66a57435e602ba5cfff15b50085389fb715907a1",
- "resolved": "git+https://github.com/sharelatex/metrics-sharelatex.git#66a57435e602ba5cfff15b50085389fb715907a1",
+ "version": "2.0.8",
+ "from": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.8",
+ "resolved": "git+https://github.com/sharelatex/metrics-sharelatex.git#a56855e935e4e361166706091cf33f252eb0cd24",
"dependencies": {
"coffee-script": {
"version": "1.6.0",
@@ -29,7 +29,7 @@
"express": "^4.10.1",
"express-session": "^1.9.1",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.6",
- "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#66a57435e602ba5cfff15b50085389fb715907a1",
+ "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.8",
"redis-sharelatex": "git+https://github.com/sharelatex/redis-sharelatex.git#v1.0.4",
"request": "~2.34.0",
"session.socket.io": "^0.1.6",