[misc] bump metrics module to 3.4.1

- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
This commit is contained in:
Jakob Ackermann
2020-11-25 11:57:20 +00:00
parent 728736e080
commit f16fbdcdbf
7 changed files with 839 additions and 750 deletions
@@ -29,7 +29,7 @@ describe('Notifications Controller', function () {
requires: {
'logger-sharelatex': { log() {} },
'./Notifications': this.notifications,
'metrics-sharelatex': {
'@overleaf/metrics': {
inc: sinon.stub()
}
}
@@ -49,7 +49,7 @@ describe('Notifications Tests', function () {
},
'settings-sharelatex': {},
'./mongodb': { db: this.db, ObjectId },
'metrics-sharelatex': { timeAsyncMethod: sinon.stub() }
'@overleaf/metrics': { timeAsyncMethod: sinon.stub() }
},
globals: {
console