Brian Gough
349b499f85
add compatibility with v2 mongo driver
2015-07-30 08:57:43 +01:00
Brian Gough
ffa523bced
added monitoring of event loop time
...
should indicate if node is blocking on libuv threads
as described in https://nodejs.org/api/dns.html#dns_dns_lookup
2015-06-23 10:51:48 +01:00
James Allen
90e6c85e54
Send errors to Sentry if configured
2015-06-16 16:50:18 +01:00
Henry Oswald
5637678b48
bumped bunyan version to work with node 0.12
2015-06-08 10:01:45 +01:00
Henry Oswald
9329249bc9
Revert "reduce memory capture in http logger"
...
This reverts commit fc2e043b20204e04f240814d4efc05762db7df96.
Had to revert this because req.route.path is not set until a matching
route has been hit, so it was always null inside res.end meaning
statsd data was never sent over.
This commit did not actually stop the memory leak so reverting it
has not short term repocusion
2015-05-14 16:14:24 +01:00
Brian Gough
1e0a991fcd
reduce memory capture in http logger
...
only capture the properties of 'req' that we need, to avoid leaking
the whole req object for responses that never call res.end()
2015-05-05 10:50:59 +01:00
Brian Gough
fa7e068ebb
update minor version, due to addition of new close() method
2015-01-05 16:46:44 +00:00
Brian Gough
30070f23b8
add a close() method to terminate the module cleanly
...
closes the statsd connection and cancels registered interval timers
prevents express from hanging when trying to shutdown
2015-01-05 16:45:32 +00:00
Henry Oswald
3334a55944
bump package
2014-11-20 12:50:31 +00:00
Henry Oswald
917ce27a2c
add a double message check
2014-11-20 12:50:19 +00:00
Henry Oswald
119ae80853
bump package.json
2014-11-20 11:09:57 +00:00
Henry Oswald
ef0ea2ace2
if redis fails once mark it to always fail
2014-11-20 11:09:44 +00:00
Henry Oswald
e133c7101e
incremented version and added basic health check function in
2014-11-19 23:18:56 +00:00
Henry Oswald
6da4f3eef5
bump package
2014-11-19 16:41:28 +00:00
Henry Oswald
4cd3c249ec
removed reconnect stuff
2014-11-19 16:39:06 +00:00
James Allen
1ee287ed98
add createMonitoredSubscriptionClient method
2014-11-19 14:05:16 +00:00
James Allen
42cbaecbe0
Let the client take care of reconnecting only when the stream is actually ended
2014-11-19 12:30:10 +00:00
James Allen
861eafd88d
Handle reconnect logic better to (hopefully) avoid duplicate connections
2014-11-19 11:52:40 +00:00
James Allen
db3537a8eb
Reset heartbeat timer after triggering a reconnect
2014-11-19 11:25:09 +00:00
James Allen
b67b49564d
Revert "Use own fork of node-redis-sentinel"
...
This reverts commit a351534a5f0e50656430ff37d2f6c42f701096d0.
2014-11-19 11:21:36 +00:00
James Allen
e988dc8586
Don't need secure random bytes which can error if not enough entropy
2014-11-19 11:18:31 +00:00
James Allen
68c428545d
Don't hash because Henry is hashist!
2014-11-19 11:16:43 +00:00
James Allen
c90cc61570
Set retry_max_delay to 5 seconds so that reconnects don't slow down exponentially
2014-11-19 11:02:27 +00:00
James Allen
230203eadf
Add in robust heartbeat driven subscription model
2014-11-19 11:01:02 +00:00
James Allen
79afad5409
Use own fork of node-redis-sentinel
2014-11-18 15:49:27 +00:00
James Allen
8808097f2c
Add javascript wrapper so it can be loaded directly
2014-11-07 15:02:45 +00:00
Henry Oswald
4fd5191528
bump package
2014-09-29 12:02:38 +01:00
Henry Oswald
c63f3c9da9
added readme
2014-09-29 12:00:03 +01:00
Henry Oswald
8f31ac60ca
if password is passed rename it to auth_pass
2014-09-29 11:40:40 +01:00
Henry Oswald
a33f537cb1
increment package
2014-09-28 20:34:20 +01:00
Henry Oswald
f554ea8bd5
change underscore dep
2014-09-28 20:33:29 +01:00
Henry Oswald
a0c861cf5d
pass entire redis object though with all opts in one go
2014-09-26 14:46:23 +01:00
Henry Oswald
629241611b
v1 of the redis driver wrapper
2014-09-25 17:33:27 +01:00
James Allen
60857982b6
Create LICENSE
2014-09-08 09:19:39 +01:00
James Allen
5f50672342
Create LICENSE
2014-09-08 09:17:55 +01:00
James Allen
1dc82ef624
Release version 1.0.0
2014-08-19 13:35:15 +01:00
James Allen
9acca85843
Release version 1.0.0
2014-08-19 13:32:41 +01:00
James Allen
c1e10e7ec4
Release version 1.0.0
2014-08-19 13:30:16 +01:00
Henry Oswald
c8fae26995
changed type to query_type as it conflicts with logstash
2014-05-13 15:24:23 +01:00
James Allen
1dea55d8f2
Check that req.route.path is set
2014-05-12 15:28:09 +01:00
James Allen
284d8fb588
Namespace gauge keys correctly
2014-05-09 13:54:33 +01:00
James Allen
00c0036ca5
Add open socket monitoring
2014-05-09 13:30:12 +01:00
James Allen
86f220a2d2
Add collection into graphite key
2014-05-07 11:50:09 +01:00
James Allen
45ec60d8a6
Fix broken key building in timer
2014-05-07 11:43:46 +01:00
James Allen
873297b02e
Namespace http request keys
2014-05-07 11:13:21 +01:00
James Allen
befb48a20f
Use correct key in Metrics.timing
2014-05-07 11:08:46 +01:00
James Allen
f4895fb04f
Add in http monitoring
2014-05-07 10:58:52 +01:00
James Allen
4da7fa43fa
Scope name argument properly
2014-05-06 17:33:09 +01:00
James Allen
125790b604
Ignore all queries
2014-05-06 17:19:04 +01:00
James Allen
00c12ccab6
Remove redundant count
2014-05-06 17:06:34 +01:00
James Allen
15f85494b7
Sort out initialization and ignore noisy mongo requests
2014-05-06 17:02:51 +01:00
James Allen
42b500263a
Create metrics module
2014-05-06 16:52:03 +01:00
James Allen
0da921311c
Preserve arrays
2014-04-03 11:14:28 +01:00
James Allen
4f377c5fa2
Remove unnecessary logging
2014-04-02 21:27:27 +01:00
James Allen
89d09340f5
Don't log out the settings
2014-04-02 17:43:11 +01:00
James Allen
c06e237e31
Load and merge defaults if available
...
Load and merge defaults if available
2014-04-02 17:39:14 +01:00
James Allen
6baf4ebe85
Take config from SHARELATEX_CONFIG env variable
2014-02-19 13:21:32 +00:00
James Allen
58cd9ced1a
Initial open source commit
2014-02-17 14:54:20 +00:00
James Allen
3133f85164
Initial open source commit
2014-02-17 14:51:21 +00:00