Switch to v2 metrics

This commit is contained in:
Christopher Hoskin 2019-01-03 10:03:49 +00:00
parent 99709e558c
commit f73856064b
3 changed files with 521 additions and 7 deletions

View file

@ -1,17 +1,20 @@
metrics = require("metrics-sharelatex")
metrics.initialize("spelling")
Settings = require 'settings-sharelatex' Settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex' logger = require 'logger-sharelatex'
logger.initialize("spelling-sharelatex") logger.initialize("spelling-sharelatex")
if Settings.sentry?.dsn? if Settings.sentry?.dsn?
logger.initializeErrorReporting(Settings.sentry.dsn) logger.initializeErrorReporting(Settings.sentry.dsn)
metrics.memory.monitor(logger)
SpellingAPIController = require './app/js/SpellingAPIController' SpellingAPIController = require './app/js/SpellingAPIController'
express = require('express') express = require('express')
Path = require("path") Path = require("path")
server = express() server = express()
metrics.injectMetricsRoute(server)
bodyParser = require('body-parser') bodyParser = require('body-parser')
metrics = require("metrics-sharelatex")
metrics.initialize("spelling")
metrics.memory.monitor(logger)
HealthCheckController = require("./app/js/HealthCheckController") HealthCheckController = require("./app/js/HealthCheckController")

View file

@ -2,6 +2,162 @@
"name": "spelling-sharelatex", "name": "spelling-sharelatex",
"version": "0.1.4", "version": "0.1.4",
"dependencies": { "dependencies": {
"@google-cloud/common": {
"version": "0.27.0",
"from": "@google-cloud/common@>=0.27.0 <0.28.0",
"resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-0.27.0.tgz"
},
"@google-cloud/debug-agent": {
"version": "3.0.1",
"from": "@google-cloud/debug-agent@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/@google-cloud/debug-agent/-/debug-agent-3.0.1.tgz",
"dependencies": {
"coffeescript": {
"version": "2.3.2",
"from": "coffeescript@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/coffeescript/-/coffeescript-2.3.2.tgz"
}
}
},
"@google-cloud/profiler": {
"version": "0.2.3",
"from": "@google-cloud/profiler@>=0.2.3 <0.3.0",
"resolved": "https://registry.npmjs.org/@google-cloud/profiler/-/profiler-0.2.3.tgz",
"dependencies": {
"@google-cloud/common": {
"version": "0.26.2",
"from": "@google-cloud/common@>=0.26.0 <0.27.0",
"resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-0.26.2.tgz"
},
"through2": {
"version": "3.0.0",
"from": "through2@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/through2/-/through2-3.0.0.tgz"
}
}
},
"@google-cloud/projectify": {
"version": "0.3.2",
"from": "@google-cloud/projectify@>=0.3.2 <0.4.0",
"resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-0.3.2.tgz"
},
"@google-cloud/promisify": {
"version": "0.3.1",
"from": "@google-cloud/promisify@>=0.3.0 <0.4.0",
"resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-0.3.1.tgz"
},
"@google-cloud/trace-agent": {
"version": "3.5.0",
"from": "@google-cloud/trace-agent@>=3.2.0 <4.0.0",
"resolved": "https://registry.npmjs.org/@google-cloud/trace-agent/-/trace-agent-3.5.0.tgz",
"dependencies": {
"@google-cloud/common": {
"version": "0.28.0",
"from": "@google-cloud/common@>=0.28.0 <0.29.0",
"resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-0.28.0.tgz"
}
}
},
"@protobufjs/aspromise": {
"version": "1.1.2",
"from": "@protobufjs/aspromise@>=1.1.2 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz"
},
"@protobufjs/base64": {
"version": "1.1.2",
"from": "@protobufjs/base64@>=1.1.2 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz"
},
"@protobufjs/codegen": {
"version": "2.0.4",
"from": "@protobufjs/codegen@>=2.0.4 <3.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz"
},
"@protobufjs/eventemitter": {
"version": "1.1.0",
"from": "@protobufjs/eventemitter@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz"
},
"@protobufjs/fetch": {
"version": "1.1.0",
"from": "@protobufjs/fetch@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz"
},
"@protobufjs/float": {
"version": "1.0.2",
"from": "@protobufjs/float@>=1.0.2 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz"
},
"@protobufjs/inquire": {
"version": "1.1.0",
"from": "@protobufjs/inquire@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz"
},
"@protobufjs/path": {
"version": "1.1.2",
"from": "@protobufjs/path@>=1.1.2 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz"
},
"@protobufjs/pool": {
"version": "1.1.0",
"from": "@protobufjs/pool@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz"
},
"@protobufjs/utf8": {
"version": "1.1.0",
"from": "@protobufjs/utf8@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz"
},
"@sindresorhus/is": {
"version": "0.13.0",
"from": "@sindresorhus/is@>=0.13.0 <0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.13.0.tgz"
},
"@types/caseless": {
"version": "0.12.1",
"from": "@types/caseless@*",
"resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.1.tgz"
},
"@types/console-log-level": {
"version": "1.4.0",
"from": "@types/console-log-level@>=1.4.0 <2.0.0",
"resolved": "https://registry.npmjs.org/@types/console-log-level/-/console-log-level-1.4.0.tgz"
},
"@types/duplexify": {
"version": "3.6.0",
"from": "@types/duplexify@>=3.5.0 <4.0.0",
"resolved": "https://registry.npmjs.org/@types/duplexify/-/duplexify-3.6.0.tgz"
},
"@types/form-data": {
"version": "2.2.1",
"from": "@types/form-data@*",
"resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-2.2.1.tgz"
},
"@types/long": {
"version": "4.0.0",
"from": "@types/long@>=4.0.0 <5.0.0",
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz"
},
"@types/node": {
"version": "10.12.18",
"from": "@types/node@*",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz"
},
"@types/request": {
"version": "2.48.1",
"from": "@types/request@>=2.47.0 <3.0.0",
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.1.tgz"
},
"@types/semver": {
"version": "5.5.0",
"from": "@types/semver@>=5.5.0 <6.0.0",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-5.5.0.tgz"
},
"@types/tough-cookie": {
"version": "2.3.4",
"from": "@types/tough-cookie@*",
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-2.3.4.tgz"
},
"abbrev": { "abbrev": {
"version": "1.1.1", "version": "1.1.1",
"from": "abbrev@>=1.0.0 <2.0.0", "from": "abbrev@>=1.0.0 <2.0.0",
@ -12,6 +168,16 @@
"from": "accepts@>=1.3.5 <1.4.0", "from": "accepts@>=1.3.5 <1.4.0",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz" "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz"
}, },
"acorn": {
"version": "5.7.3",
"from": "acorn@>=5.0.3 <6.0.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz"
},
"agent-base": {
"version": "4.2.1",
"from": "agent-base@>=4.1.0 <5.0.0",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz"
},
"ajv": { "ajv": {
"version": "6.6.2", "version": "6.6.2",
"from": "ajv@>=6.5.5 <7.0.0", "from": "ajv@>=6.5.5 <7.0.0",
@ -37,6 +203,11 @@
"from": "array-flatten@1.1.1", "from": "array-flatten@1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz" "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz"
}, },
"arrify": {
"version": "1.0.1",
"from": "arrify@>=1.0.1 <2.0.0",
"resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz"
},
"asn1": { "asn1": {
"version": "0.2.4", "version": "0.2.4",
"from": "asn1@>=0.2.3 <0.3.0", "from": "asn1@>=0.2.3 <0.3.0",
@ -57,6 +228,11 @@
"from": "async@0.1.22", "from": "async@0.1.22",
"resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz" "resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz"
}, },
"async-listener": {
"version": "0.6.10",
"from": "async-listener@>=0.6.0 <0.7.0",
"resolved": "https://registry.npmjs.org/async-listener/-/async-listener-0.6.10.tgz"
},
"asynckit": { "asynckit": {
"version": "0.4.0", "version": "0.4.0",
"from": "asynckit@>=0.4.0 <0.5.0", "from": "asynckit@>=0.4.0 <0.5.0",
@ -72,6 +248,11 @@
"from": "aws4@>=1.8.0 <2.0.0", "from": "aws4@>=1.8.0 <2.0.0",
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz" "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz"
}, },
"axios": {
"version": "0.18.0",
"from": "axios@>=0.18.0 <0.19.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz"
},
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"from": "balanced-match@>=1.0.0 <2.0.0", "from": "balanced-match@>=1.0.0 <2.0.0",
@ -82,6 +263,21 @@
"from": "bcrypt-pbkdf@>=1.0.0 <2.0.0", "from": "bcrypt-pbkdf@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz" "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz"
}, },
"bignumber.js": {
"version": "7.2.1",
"from": "bignumber.js@>=7.0.0 <8.0.0",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.2.1.tgz"
},
"bindings": {
"version": "1.3.1",
"from": "bindings@>=1.2.1 <2.0.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz"
},
"bintrees": {
"version": "1.0.1",
"from": "bintrees@1.0.1",
"resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.1.tgz"
},
"block-stream": { "block-stream": {
"version": "0.0.9", "version": "0.0.9",
"from": "block-stream@*", "from": "block-stream@*",
@ -107,11 +303,21 @@
"from": "bson@>=1.0.4 <1.1.0", "from": "bson@>=1.0.4 <1.1.0",
"resolved": "https://registry.npmjs.org/bson/-/bson-1.0.9.tgz" "resolved": "https://registry.npmjs.org/bson/-/bson-1.0.9.tgz"
}, },
"buffer-equal-constant-time": {
"version": "1.0.1",
"from": "buffer-equal-constant-time@1.0.1",
"resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz"
},
"buffer-shims": { "buffer-shims": {
"version": "1.0.0", "version": "1.0.0",
"from": "buffer-shims@>=1.0.0 <1.1.0", "from": "buffer-shims@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz" "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz"
}, },
"builtin-modules": {
"version": "3.0.0",
"from": "builtin-modules@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.0.0.tgz"
},
"bytes": { "bytes": {
"version": "3.0.0", "version": "3.0.0",
"from": "bytes@3.0.0", "from": "bytes@3.0.0",
@ -162,6 +368,11 @@
"from": "console-control-strings@>=1.1.0 <1.2.0", "from": "console-control-strings@>=1.1.0 <1.2.0",
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz"
}, },
"console-log-level": {
"version": "1.4.0",
"from": "console-log-level@>=1.4.0 <2.0.0",
"resolved": "https://registry.npmjs.org/console-log-level/-/console-log-level-1.4.0.tgz"
},
"content-disposition": { "content-disposition": {
"version": "0.5.2", "version": "0.5.2",
"from": "content-disposition@0.5.2", "from": "content-disposition@0.5.2",
@ -172,6 +383,11 @@
"from": "content-type@>=1.0.4 <1.1.0", "from": "content-type@>=1.0.4 <1.1.0",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz" "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz"
}, },
"continuation-local-storage": {
"version": "3.2.1",
"from": "continuation-local-storage@>=3.2.1 <4.0.0",
"resolved": "https://registry.npmjs.org/continuation-local-storage/-/continuation-local-storage-3.2.1.tgz"
},
"cookie": { "cookie": {
"version": "0.3.1", "version": "0.3.1",
"from": "cookie@0.3.1", "from": "cookie@0.3.1",
@ -212,6 +428,11 @@
"from": "deep-extend@>=0.6.0 <0.7.0", "from": "deep-extend@>=0.6.0 <0.7.0",
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz" "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz"
}, },
"delay": {
"version": "4.1.0",
"from": "delay@>=4.0.1 <5.0.0",
"resolved": "https://registry.npmjs.org/delay/-/delay-4.1.0.tgz"
},
"delayed-stream": { "delayed-stream": {
"version": "1.0.0", "version": "1.0.0",
"from": "delayed-stream@>=1.0.0 <1.1.0", "from": "delayed-stream@>=1.0.0 <1.1.0",
@ -237,6 +458,11 @@
"from": "detect-libc@>=1.0.2 <2.0.0", "from": "detect-libc@>=1.0.2 <2.0.0",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz" "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz"
}, },
"duplexify": {
"version": "3.6.1",
"from": "duplexify@>=3.6.0 <4.0.0",
"resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.1.tgz"
},
"each-series": { "each-series": {
"version": "1.0.0", "version": "1.0.0",
"from": "each-series@>=1.0.0 <2.0.0", "from": "each-series@>=1.0.0 <2.0.0",
@ -247,21 +473,53 @@
"from": "ecc-jsbn@>=0.1.1 <0.2.0", "from": "ecc-jsbn@>=0.1.1 <0.2.0",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz" "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
}, },
"ecdsa-sig-formatter": {
"version": "1.0.10",
"from": "ecdsa-sig-formatter@1.0.10",
"resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.10.tgz"
},
"ee-first": { "ee-first": {
"version": "1.1.1", "version": "1.1.1",
"from": "ee-first@1.1.1", "from": "ee-first@1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz" "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz"
}, },
"emitter-listener": {
"version": "1.1.2",
"from": "emitter-listener@>=1.1.1 <2.0.0",
"resolved": "https://registry.npmjs.org/emitter-listener/-/emitter-listener-1.1.2.tgz"
},
"encodeurl": { "encodeurl": {
"version": "1.0.2", "version": "1.0.2",
"from": "encodeurl@>=1.0.2 <1.1.0", "from": "encodeurl@>=1.0.2 <1.1.0",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz" "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz"
}, },
"end-of-stream": {
"version": "1.4.1",
"from": "end-of-stream@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz"
},
"ent": {
"version": "2.2.0",
"from": "ent@>=2.2.0 <3.0.0",
"resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz"
},
"es6-promise": { "es6-promise": {
"version": "3.2.1", "version": "3.2.1",
"from": "es6-promise@3.2.1", "from": "es6-promise@3.2.1",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.2.1.tgz" "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.2.1.tgz"
}, },
"es6-promisify": {
"version": "5.0.0",
"from": "es6-promisify@>=5.0.0 <6.0.0",
"resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
"dependencies": {
"es6-promise": {
"version": "4.2.5",
"from": "es6-promise@>=4.0.3 <5.0.0",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.5.tgz"
}
}
},
"escape-html": { "escape-html": {
"version": "1.0.3", "version": "1.0.3",
"from": "escape-html@>=1.0.3 <1.1.0", "from": "escape-html@>=1.0.3 <1.1.0",
@ -316,6 +574,23 @@
} }
} }
}, },
"findit2": {
"version": "2.2.3",
"from": "findit2@>=2.2.3 <3.0.0",
"resolved": "https://registry.npmjs.org/findit2/-/findit2-2.2.3.tgz"
},
"follow-redirects": {
"version": "1.6.0",
"from": "follow-redirects@>=1.3.0 <2.0.0",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.6.0.tgz",
"dependencies": {
"debug": {
"version": "3.1.0",
"from": "debug@3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz"
}
}
},
"forever-agent": { "forever-agent": {
"version": "0.6.1", "version": "0.6.1",
"from": "forever-agent@>=0.6.1 <0.7.0", "from": "forever-agent@>=0.6.1 <0.7.0",
@ -356,6 +631,16 @@
"from": "gauge@>=2.7.3 <2.8.0", "from": "gauge@>=2.7.3 <2.8.0",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz" "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz"
}, },
"gaxios": {
"version": "1.0.4",
"from": "gaxios@>=1.0.2 <2.0.0",
"resolved": "https://registry.npmjs.org/gaxios/-/gaxios-1.0.4.tgz"
},
"gcp-metadata": {
"version": "0.9.3",
"from": "gcp-metadata@>=0.9.0 <0.10.0",
"resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-0.9.3.tgz"
},
"get-func-name": { "get-func-name": {
"version": "2.0.0", "version": "2.0.0",
"from": "get-func-name@>=2.0.0 <3.0.0", "from": "get-func-name@>=2.0.0 <3.0.0",
@ -371,11 +656,55 @@
"from": "glob@>=7.1.3 <8.0.0", "from": "glob@>=7.1.3 <8.0.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz" "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz"
}, },
"google-auth-library": {
"version": "2.0.2",
"from": "google-auth-library@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-2.0.2.tgz",
"dependencies": {
"gcp-metadata": {
"version": "0.7.0",
"from": "gcp-metadata@>=0.7.0 <0.8.0",
"resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-0.7.0.tgz"
},
"lru-cache": {
"version": "5.1.1",
"from": "lru-cache@>=5.0.0 <6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz"
},
"yallist": {
"version": "3.0.3",
"from": "yallist@>=3.0.2 <4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz"
}
}
},
"google-p12-pem": {
"version": "1.0.3",
"from": "google-p12-pem@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-1.0.3.tgz"
},
"graceful-fs": { "graceful-fs": {
"version": "4.1.15", "version": "4.1.15",
"from": "graceful-fs@>=4.1.2 <5.0.0", "from": "graceful-fs@>=4.1.2 <5.0.0",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz" "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz"
}, },
"gtoken": {
"version": "2.3.0",
"from": "gtoken@>=2.3.0 <3.0.0",
"resolved": "https://registry.npmjs.org/gtoken/-/gtoken-2.3.0.tgz",
"dependencies": {
"mime": {
"version": "2.4.0",
"from": "mime@>=2.2.0 <3.0.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz"
},
"pify": {
"version": "3.0.0",
"from": "pify@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz"
}
}
},
"har-schema": { "har-schema": {
"version": "2.0.0", "version": "2.0.0",
"from": "har-schema@>=2.0.0 <3.0.0", "from": "har-schema@>=2.0.0 <3.0.0",
@ -396,6 +725,11 @@
"from": "hawk@3.1.3", "from": "hawk@3.1.3",
"resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz" "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz"
}, },
"hex2dec": {
"version": "1.1.1",
"from": "hex2dec@>=1.0.1 <2.0.0",
"resolved": "https://registry.npmjs.org/hex2dec/-/hex2dec-1.1.1.tgz"
},
"hoek": { "hoek": {
"version": "2.16.3", "version": "2.16.3",
"from": "hoek@>=2.0.0 <3.0.0", "from": "hoek@>=2.0.0 <3.0.0",
@ -411,6 +745,23 @@
"from": "http-signature@>=1.2.0 <1.3.0", "from": "http-signature@>=1.2.0 <1.3.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz" "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz"
}, },
"https-proxy-agent": {
"version": "2.2.1",
"from": "https-proxy-agent@>=2.2.1 <3.0.0",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz",
"dependencies": {
"debug": {
"version": "3.2.6",
"from": "debug@>=3.1.0 <4.0.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz"
},
"ms": {
"version": "2.1.1",
"from": "ms@>=2.1.1 <3.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz"
}
}
},
"iconv-lite": { "iconv-lite": {
"version": "0.4.23", "version": "0.4.23",
"from": "iconv-lite@0.4.23", "from": "iconv-lite@0.4.23",
@ -436,6 +787,16 @@
"from": "ipaddr.js@1.8.0", "from": "ipaddr.js@1.8.0",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz" "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz"
}, },
"is": {
"version": "3.3.0",
"from": "is@>=3.2.0 <4.0.0",
"resolved": "https://registry.npmjs.org/is/-/is-3.3.0.tgz"
},
"is-buffer": {
"version": "1.1.6",
"from": "is-buffer@>=1.1.5 <2.0.0",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz"
},
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "1.0.0", "version": "1.0.0",
"from": "is-fullwidth-code-point@>=1.0.0 <2.0.0", "from": "is-fullwidth-code-point@>=1.0.0 <2.0.0",
@ -461,6 +822,11 @@
"from": "jsbn@>=0.1.0 <0.2.0", "from": "jsbn@>=0.1.0 <0.2.0",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
}, },
"json-bigint": {
"version": "0.3.0",
"from": "json-bigint@>=0.3.0 <0.4.0",
"resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.0.tgz"
},
"json-schema": { "json-schema": {
"version": "0.2.3", "version": "0.2.3",
"from": "json-schema@0.2.3", "from": "json-schema@0.2.3",
@ -491,6 +857,21 @@
"from": "jsprim@>=1.2.2 <2.0.0", "from": "jsprim@>=1.2.2 <2.0.0",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz" "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz"
}, },
"jwa": {
"version": "1.1.6",
"from": "jwa@>=1.1.5 <2.0.0",
"resolved": "https://registry.npmjs.org/jwa/-/jwa-1.1.6.tgz"
},
"jws": {
"version": "3.1.5",
"from": "jws@>=3.1.5 <4.0.0",
"resolved": "https://registry.npmjs.org/jws/-/jws-3.1.5.tgz"
},
"lodash.pickby": {
"version": "4.6.0",
"from": "lodash.pickby@>=4.6.0 <5.0.0",
"resolved": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz"
},
"logger-sharelatex": { "logger-sharelatex": {
"version": "1.0.0", "version": "1.0.0",
"from": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0", "from": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
@ -520,6 +901,11 @@
} }
} }
}, },
"long": {
"version": "4.0.0",
"from": "long@>=4.0.0 <5.0.0",
"resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz"
},
"lru-cache": { "lru-cache": {
"version": "4.1.5", "version": "4.1.5",
"from": "lru-cache@>=4.0.0 <5.0.0", "from": "lru-cache@>=4.0.0 <5.0.0",
@ -556,9 +942,9 @@
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz" "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz"
}, },
"metrics-sharelatex": { "metrics-sharelatex": {
"version": "1.7.1", "version": "2.0.12",
"from": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1", "from": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.12",
"resolved": "git+https://github.com/sharelatex/metrics-sharelatex.git#166961924c599b1f9468f2e17846fa2a9d12372d", "resolved": "git+https://github.com/sharelatex/metrics-sharelatex.git#3ac1621ef049e2f2d88a83b3a41011333d609662",
"dependencies": { "dependencies": {
"coffee-script": { "coffee-script": {
"version": "1.6.0", "version": "1.6.0",
@ -602,6 +988,11 @@
"from": "mkdirp@>=0.5.1 <0.6.0", "from": "mkdirp@>=0.5.1 <0.6.0",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz" "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"
}, },
"module-details-from-path": {
"version": "1.0.3",
"from": "module-details-from-path@>=1.0.3 <2.0.0",
"resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz"
},
"mongodb": { "mongodb": {
"version": "2.2.36", "version": "2.2.36",
"from": "mongodb@>=2.0.45 <3.0.0", "from": "mongodb@>=2.0.45 <3.0.0",
@ -665,6 +1056,16 @@
"from": "negotiator@0.6.1", "from": "negotiator@0.6.1",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz" "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz"
}, },
"node-fetch": {
"version": "2.3.0",
"from": "node-fetch@>=2.2.0 <3.0.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.3.0.tgz"
},
"node-forge": {
"version": "0.7.6",
"from": "node-forge@>=0.7.5 <0.8.0",
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz"
},
"node-pre-gyp": { "node-pre-gyp": {
"version": "0.6.39", "version": "0.6.39",
"from": "node-pre-gyp@>=0.6.34 <0.7.0", "from": "node-pre-gyp@>=0.6.34 <0.7.0",
@ -792,11 +1193,31 @@
"from": "osenv@>=0.1.4 <0.2.0", "from": "osenv@>=0.1.4 <0.2.0",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz" "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz"
}, },
"p-limit": {
"version": "2.1.0",
"from": "p-limit@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.1.0.tgz"
},
"p-try": {
"version": "2.0.0",
"from": "p-try@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz"
},
"parse-duration": {
"version": "0.1.1",
"from": "parse-duration@>=0.1.1 <0.2.0",
"resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.1.1.tgz"
},
"parse-mongo-url": { "parse-mongo-url": {
"version": "1.1.1", "version": "1.1.1",
"from": "parse-mongo-url@>=1.1.0 <2.0.0", "from": "parse-mongo-url@>=1.1.0 <2.0.0",
"resolved": "https://registry.npmjs.org/parse-mongo-url/-/parse-mongo-url-1.1.1.tgz" "resolved": "https://registry.npmjs.org/parse-mongo-url/-/parse-mongo-url-1.1.1.tgz"
}, },
"parse-ms": {
"version": "2.0.0",
"from": "parse-ms@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.0.0.tgz"
},
"parseurl": { "parseurl": {
"version": "1.3.2", "version": "1.3.2",
"from": "parseurl@>=1.3.2 <1.4.0", "from": "parseurl@>=1.3.2 <1.4.0",
@ -807,6 +1228,11 @@
"from": "path-is-absolute@>=1.0.0 <2.0.0", "from": "path-is-absolute@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
}, },
"path-parse": {
"version": "1.0.6",
"from": "path-parse@>=1.0.6 <2.0.0",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz"
},
"path-to-regexp": { "path-to-regexp": {
"version": "0.1.7", "version": "0.1.7",
"from": "path-to-regexp@0.1.7", "from": "path-to-regexp@0.1.7",
@ -822,11 +1248,31 @@
"from": "performance-now@>=2.1.0 <3.0.0", "from": "performance-now@>=2.1.0 <3.0.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz" "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz"
}, },
"pify": {
"version": "4.0.1",
"from": "pify@>=4.0.1 <5.0.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz"
},
"pretty-ms": {
"version": "4.0.0",
"from": "pretty-ms@>=4.0.0 <5.0.0",
"resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-4.0.0.tgz"
},
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.7", "version": "1.0.7",
"from": "process-nextick-args@>=1.0.6 <1.1.0", "from": "process-nextick-args@>=1.0.6 <1.1.0",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz" "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz"
}, },
"prom-client": {
"version": "11.2.1",
"from": "prom-client@>=11.1.3 <12.0.0",
"resolved": "https://registry.npmjs.org/prom-client/-/prom-client-11.2.1.tgz"
},
"protobufjs": {
"version": "6.8.8",
"from": "protobufjs@>=6.8.6 <6.9.0",
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz"
},
"proxy-addr": { "proxy-addr": {
"version": "2.0.4", "version": "2.0.4",
"from": "proxy-addr@>=2.0.4 <2.1.0", "from": "proxy-addr@>=2.0.4 <2.1.0",
@ -928,16 +1374,36 @@
"from": "require_optional@>=1.0.0 <1.1.0", "from": "require_optional@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz" "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz"
}, },
"require-in-the-middle": {
"version": "3.1.0",
"from": "require-in-the-middle@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-3.1.0.tgz"
},
"require-like": { "require-like": {
"version": "0.1.2", "version": "0.1.2",
"from": "require-like@0.1.2", "from": "require-like@0.1.2",
"resolved": "https://registry.npmjs.org/require-like/-/require-like-0.1.2.tgz" "resolved": "https://registry.npmjs.org/require-like/-/require-like-0.1.2.tgz"
}, },
"resolve": {
"version": "1.9.0",
"from": "resolve@>=1.5.0 <2.0.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz"
},
"resolve-from": { "resolve-from": {
"version": "2.0.0", "version": "2.0.0",
"from": "resolve-from@>=2.0.0 <3.0.0", "from": "resolve-from@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz" "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz"
}, },
"retry-axios": {
"version": "0.3.2",
"from": "retry-axios@0.3.2",
"resolved": "https://registry.npmjs.org/retry-axios/-/retry-axios-0.3.2.tgz"
},
"retry-request": {
"version": "4.0.0",
"from": "retry-request@>=4.0.0 <5.0.0",
"resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.0.0.tgz"
},
"rimraf": { "rimraf": {
"version": "2.6.3", "version": "2.6.3",
"from": "rimraf@>=2.6.1 <3.0.0", "from": "rimraf@>=2.6.1 <3.0.0",
@ -1008,6 +1474,11 @@
} }
} }
}, },
"shimmer": {
"version": "1.2.0",
"from": "shimmer@>=1.2.0 <2.0.0",
"resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.0.tgz"
},
"signal-exit": { "signal-exit": {
"version": "3.0.2", "version": "3.0.2",
"from": "signal-exit@>=3.0.0 <4.0.0", "from": "signal-exit@>=3.0.0 <4.0.0",
@ -1018,6 +1489,16 @@
"from": "sntp@>=1.0.0 <2.0.0", "from": "sntp@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz" "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz"
}, },
"source-map": {
"version": "0.6.1",
"from": "source-map@>=0.6.1 <0.7.0",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz"
},
"split": {
"version": "1.0.1",
"from": "split@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz"
},
"sshpk": { "sshpk": {
"version": "1.16.0", "version": "1.16.0",
"from": "sshpk@>=1.7.0 <2.0.0", "from": "sshpk@>=1.7.0 <2.0.0",
@ -1038,6 +1519,11 @@
"from": "statuses@>=1.4.0 <2.0.0", "from": "statuses@>=1.4.0 <2.0.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz"
}, },
"stream-shift": {
"version": "1.0.0",
"from": "stream-shift@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz"
},
"string_decoder": { "string_decoder": {
"version": "1.0.3", "version": "1.0.3",
"from": "string_decoder@>=1.0.0 <1.1.0", "from": "string_decoder@>=1.0.0 <1.1.0",
@ -1063,6 +1549,11 @@
"from": "strip-json-comments@>=2.0.1 <2.1.0", "from": "strip-json-comments@>=2.0.1 <2.1.0",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz" "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz"
}, },
"symbol-observable": {
"version": "1.2.0",
"from": "symbol-observable@>=1.2.0 <2.0.0",
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz"
},
"tar": { "tar": {
"version": "2.2.1", "version": "2.2.1",
"from": "tar@>=2.2.1 <3.0.0", "from": "tar@>=2.2.1 <3.0.0",
@ -1073,6 +1564,26 @@
"from": "tar-pack@>=3.4.0 <4.0.0", "from": "tar-pack@>=3.4.0 <4.0.0",
"resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.1.tgz" "resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.1.tgz"
}, },
"tdigest": {
"version": "0.1.1",
"from": "tdigest@>=0.1.1 <0.2.0",
"resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.1.tgz"
},
"teeny-request": {
"version": "3.11.3",
"from": "teeny-request@>=3.11.1 <4.0.0",
"resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-3.11.3.tgz"
},
"through": {
"version": "2.3.8",
"from": "through@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz"
},
"through2": {
"version": "2.0.5",
"from": "through2@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz"
},
"thunky": { "thunky": {
"version": "0.1.0", "version": "0.1.0",
"from": "thunky@>=0.1.0 <0.2.0", "from": "thunky@>=0.1.0 <0.2.0",

View file

@ -27,7 +27,7 @@
"express": "^4.12.1", "express": "^4.12.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.1.0",
"lru-cache": "^4.0.0", "lru-cache": "^4.0.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1", "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.12",
"mongojs": "2.4.0", "mongojs": "2.4.0",
"node-statsd": "0.0.3", "node-statsd": "0.0.3",
"redis": "~0.8.4", "redis": "~0.8.4",