Merge pull request #31 from sharelatex/bg-add-sentry

add sentry to filestore (connects to overleaf/write_latex#3872)
This commit is contained in:
Brian Gough 2018-09-11 10:24:51 +01:00 committed by GitHub
commit c82793840d
3 changed files with 1366 additions and 22 deletions

View file

@ -11,6 +11,9 @@ domain = require("domain")
appIsOk = true
app = express()
if Settings.sentry?.dsn?
logger.initializeErrorReporting(Settings.sentry.dsn)
Metrics = require "metrics-sharelatex"
Metrics.initialize("filestore")
Metrics.open_sockets.monitor(logger)

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
"fs-extra": "^1.0.0",
"heapdump": "^0.3.2",
"knox": "~0.9.1",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.7",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.3.0",
"node-transloadit": "0.0.4",
"node-uuid": "~1.4.1",
@ -29,6 +29,7 @@
"response": "0.14.0",
"rimraf": "2.2.8",
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
"stream-browserify": "^2.0.1",
"stream-buffers": "~0.2.5",
"underscore": "~1.5.2"
},