mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
bump metrics to work with promethious
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user