mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
bump metrics to work with promethious
This commit is contained in:
parent
2ccc4d8d3f
commit
f321341227
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue