bump metrics to work with promethious

This commit is contained in:
Henry Oswald 2018-11-20 14:58:19 +00:00
parent 2ccc4d8d3f
commit f321341227
2 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,8 @@ app.param 'doc_id', (req, res, next, doc_id) ->
else
next new Error("invalid doc id")
Metrics.injectMetricsRoute(app)
app.get '/project/:project_id/doc', HttpController.getAllDocs
app.get '/project/:project_id/ranges', HttpController.getAllRanges
app.get '/project/:project_id/doc/:doc_id', HttpController.getDoc

View file

@ -26,7 +26,7 @@
"coffee-script": "^1.7.1",
"express": "~4.1.1",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.4.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.9.0",
"mongojs": "2.4.0",
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
"underscore": "~1.6.0"