mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 15:20:48 +00:00
Merge pull request #104 from sharelatex/csh-stackdriver
Add Prometheus Metrics to CLSIs
This commit is contained in:
commit
c3d5c2614f
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ express = require "express"
|
||||||
bodyParser = require "body-parser"
|
bodyParser = require "body-parser"
|
||||||
app = express()
|
app = express()
|
||||||
|
|
||||||
|
Metrics.injectMetricsRoute(app)
|
||||||
app.use Metrics.http.monitor(logger)
|
app.use Metrics.http.monitor(logger)
|
||||||
|
|
||||||
# Compile requests can take longer than the default two
|
# Compile requests can take longer than the default two
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"lockfile": "^1.0.3",
|
"lockfile": "^1.0.3",
|
||||||
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.4",
|
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.4",
|
||||||
"lynx": "0.0.11",
|
"lynx": "0.0.11",
|
||||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.8.1",
|
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.3",
|
||||||
"mkdirp": "0.3.5",
|
"mkdirp": "0.3.5",
|
||||||
"mysql": "2.6.2",
|
"mysql": "2.6.2",
|
||||||
"request": "^2.21.0",
|
"request": "^2.21.0",
|
||||||
|
|
Loading…
Reference in a new issue