Merge pull request #104 from sharelatex/csh-stackdriver

Add Prometheus Metrics to CLSIs
This commit is contained in:
Christopher Hoskin 2018-12-03 11:45:02 +00:00 committed by GitHub
commit c3d5c2614f
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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",