Eric Mc Sween
364cdf1fdb
1.9.0
2019-10-25 07:15:35 -04:00
Eric Mc Sween
166211b278
Stackdriver logging
...
When the environment variable STACKDRIVER_LOGGING is set to true, send
request logs in a format that Stackdriver knows how to interpret. Also,
set the log level accordint to the status code. 4xx responses are logged
as warnings and 5xx responses are logged as errors.
2019-10-24 22:05:12 -04:00
Eric Mc Sween
cb300b79ea
Add option to log to Stackdriver
...
When the environment variable STACKDRIVER_LOGGING is set to true, logs
are sent to Stackdriver in addition to stdout.
2019-10-24 17:15:29 -04:00
Eric Mc Sween
905d65931a
Small cleanup, satisfy linter, add prettier
2019-10-24 17:15:29 -04:00
Simon Detheridge
07e4eb4dfb
Add mechanism to expire old prometheus metrics
...
Adds a wrapper around the prometheus client, which keeps track of the
last time a metrics was accessed, and removes old ones once they have
not been accessed for a period of time.
2019-10-23 17:07:45 +01:00
Shane Kilkelly
1735e8f56b
Upgrade to node 10, specify digest in pbkdf2
2019-10-08 15:53:08 +01:00
Brian Gough
c8d50d0ee9
upgrade ioredis to v4.14.1
2019-10-01 16:44:04 +01:00
John Lees-Miller
626511fa73
Bump version number
2019-09-19 16:11:59 +01:00
Brian Gough
d9214b6eeb
check full reply in health check
2019-09-19 15:41:43 +01:00
Brian Gough
2435099766
make health check more robust
2019-09-19 15:05:32 +01:00
John Lees-Miller
f0d59bc192
Bump lodash version
2019-07-30 09:34:49 +01:00
Tim Alby
9229c9b3a9
add common HTTP errors
2019-07-29 18:25:31 +02:00
John Lees-Miller
1482e6841b
Bump to 1.8.0 and include license
2019-07-11 13:07:47 +01:00
Miguel Serrano
7e6b562981
Fix test setup ( #15 )
2019-07-11 13:25:09 +02:00
Miguel Serrano
6b3e7e4ffc
replace bunyan error serializer with custom one ( #14 )
2019-07-11 12:11:09 +02:00
John Lees-Miller
0dd8b124bd
Remove private from package.json
2019-07-08 13:24:03 +01:00
John Lees-Miller
bc224b43c9
Add repository to package.json
2019-07-08 13:22:49 +01:00
John Lees-Miller
79804a8e2f
Remove unreachable code
2019-07-08 11:57:28 +01:00
John Lees-Miller
9725b1bf0c
Bump to 2.0.0
2019-07-08 11:52:59 +01:00
John Lees-Miller
96ab30883a
Remove ES5 interface
2019-07-08 11:52:59 +01:00
John Lees-Miller
bdde7fac65
Move shrinkwrap to package-lock
2019-07-08 11:46:11 +01:00
John Lees-Miller
295a603ca5
Update readme for @overleaf/o-error
2019-07-08 11:45:41 +01:00
John Lees-Miller
970dcb4e8e
Update metadata for publishing
2019-07-08 11:35:29 +01:00
Tim Alby
d63812c557
update tests
2019-07-05 18:55:53 +02:00
Tim Alby
9afd8e4e5d
change exports
2019-07-05 18:45:43 +02:00
Tim Alby
626e6267ae
update README with OError naming
2019-07-05 15:50:58 +02:00
Tim Alby
76b13e7d35
rename to OError
2019-07-05 15:25:22 +02:00
Tim Alby
9c1b48a5e4
remove ErrorWithStatusCode
2019-07-05 15:24:11 +02:00
Tim Alby
7bb8a5bd11
handle custom errors created without info
2019-07-04 10:38:56 +02:00
Henry Oswald
630a957d7b
bump ioredis to have naptmap for sentinal
2019-07-02 11:56:21 +01:00
John Lees-Miller
c167ad9bdb
Upgrade mocha version
2019-07-01 11:35:24 +01:00
John Lees-Miller
ed7dc939ac
Add support for errors with ES6 classes
2019-07-01 11:34:15 +01:00
Brian Gough
286eb747ad
add status label to gauges
2019-06-06 10:34:55 +01:00
Henry Oswald
d694674b78
put host in error message
2019-05-30 14:36:54 +01:00
Henry Oswald
6600c2e050
add redis options inc host ip to error message
2019-05-30 10:13:05 +01:00
Henry Oswald
b2d6fb77db
bump to 1.0.7
2019-05-30 10:12:40 +01:00
Brian Gough
a4bc5ba5b6
fix tests for ioredis as default
2019-05-20 16:15:54 +01:00
Timothée Alby
6d33d383d0
Update README.md
...
- change app name
2019-05-07 16:16:11 +01:00
Shane Kilkelly
f030823744
Add readme
2019-05-07 10:44:58 +01:00
Henry Oswald
d1dc6b8ce7
bump ioredis
2019-05-03 11:37:32 +01:00
Henry Oswald
db590651ee
make ioredis the driver for standard connections
2019-05-03 11:33:24 +01:00
Henry Oswald
816c49daf2
bump metrics to 2.1.2
2019-04-12 12:36:47 +01:00
Henry Oswald
d4faaaa60e
use console.log not logger.log
...
we don't habe verbiouse lossing enabled that early in the apps lifecycle
also best not to require modules before enabling profiler
2019-04-12 12:34:17 +01:00
Brian Gough
f4b2f7742e
allow patch updates to ioredis 4.6.0
2019-04-11 15:24:27 +01:00
Ersun Warncke
1809d6e403
filter out error logs in buffer
2019-03-12 08:23:37 -04:00
Ersun Warncke
cb22e98766
default ring buffer size to zero
2019-03-11 10:27:35 -04:00
Ersun Warncke
b31022e329
remove jsx and react from eslint config and add eslint modules
2019-03-08 12:16:21 -04:00
Ersun Warncke
a2b5793f49
add eslint and prettier
2019-03-08 12:06:24 -04:00
Ersun Warncke
83597e8723
use ring buffer for logging and include with error
2019-03-08 10:09:44 -04:00
Ersun Warncke
5a6e00e12b
decaf
2019-03-06 16:08:38 -04:00