Commit Graph

51 Commits

Author SHA1 Message Date
Derek Collison
c0ba6c291f Default sort by cid for connz 2016-02-05 06:07:44 -08:00
Derek Collison
9702156d72 Connection sort updates
- fix bug that did not update last activity on message delivery
- added sort capabilities for last activity
- avoid extra Reverse by simply changing Less func
2016-02-05 05:49:53 -08:00
Derek Collison
26185a9722 Support for connection last activity tracking 2016-02-04 17:33:40 -08:00
Ivan Kozlovic
0540df470c Use values from ClientInfo instead of client when returning ConnInfo.
When we are returning ConnInfo, if we use the client's current value, they may be off compared to the values used for the sort.
2016-02-03 22:03:38 -07:00
Ivan Kozlovic
e893d873be Forgot to use atomic for inMsgs and inBytes in one place. 2016-02-03 21:36:07 -07:00
Ivan Kozlovic
1d6dafc6a7 Fix race on connz monitor (issue #189) 2016-02-03 21:26:26 -07:00
Derek Collison
59a52ed83a Documentation updates, minor fixes 2016-01-10 09:14:26 -08:00
Derek Collison
6bd8f5fd70 inlined roothtml 2016-01-09 10:04:42 -08:00
Derek Collison
3af90e454f Track total connections, http request stats 2016-01-09 09:57:04 -08:00
Derek Collison
b0c22e9dfd Track start and uptime per connection 2016-01-09 08:20:24 -08:00
Derek Collison
1e37a6b23c Monitoring homepage updates, help and favico 2016-01-09 07:57:58 -08:00
Derek Collison
8393c3c994 Basic INFO for cluster auto-discovery, Addresses #126 2015-12-16 12:36:24 -08:00
Derek Collison
d1a333c713 Add in tls for connection details 2015-12-01 19:23:42 -08:00
Derek Collison
b61da04ef7 Enable HTTPS for monitoring 2015-12-01 19:01:56 -08:00
Derek Collison
a63293db6b root page cleanup 2015-12-01 15:43:37 -08:00
Waldemar Quevedo
a1a5a3cf9c Expose name label from client in monitoring endpoint 2015-11-01 17:50:10 -08:00
cmfatih
6b1843a8c6 Fix port info 2015-10-04 01:45:38 -04:00
Derek Collison
eed8b6cf94 Fix for #111 2015-08-23 13:23:02 -07:00
Waldemar Quevedo
9c7de6902c Add option to sort by pending size 2015-08-22 16:00:27 -07:00
cmfatih
e86e3db2e0 Change getting callback query 2015-08-17 22:22:00 -04:00
cmfatih
7c07d5994c Updates due to formting 2015-08-15 17:44:37 -04:00
cmfatih
001d42b1ea Tidy change for HandleRoot 2015-08-15 17:39:35 -04:00
cmfatih
b641b94300 Add ResponseHandler 2015-08-15 17:29:37 -04:00
cmfatih
effddfd938 Add JSONP support for monitoring routes 2015-08-13 21:51:03 -04:00
cmfatih
48ea38ec59 Add Content-Type to monitoring handlers 2015-08-12 11:56:35 -04:00
Derek Collison
0e59a4a0f5 make sure offset and limit are sane 2015-08-06 16:45:10 -07:00
Derek Collison
afc1bb05b1 Added root handler, collapsed subscriptionsz 2015-08-06 00:58:24 -07:00
Derek Collison
0a0f322231 Avoid race condition, optimize locks 2015-08-05 22:31:33 -07:00
Derek Collison
9a60bc1364 Properly set pending 2015-08-05 06:39:11 -07:00
Derek Collison
1611530085 Flatten varz, add todo items to add 2015-08-05 06:31:48 -07:00
Waldemar Quevedo
763baa6cda Return client error in case sort option is incorrect 2015-07-23 02:24:21 +00:00
Waldemar Quevedo
22ddaec7ea Modify handling of connz offset and limit 2015-07-23 02:12:21 +00:00
Waldemar Quevedo
ad25bb322a Add more helper types for sorting and fix test 2015-07-23 00:04:45 +00:00
Waldemar Quevedo
44c72fd06b Make the sort options constants and minor fixes 2015-07-21 22:54:17 +00:00
Waldemar Quevedo
d9a98e11c0 Correct msgs_to and msgs_from and add tests 2015-07-17 01:46:53 +00:00
Waldemar Quevedo
4214eb578c Add option for sorting the connz in monitor server 2015-07-16 10:58:15 -07:00
Derek Collison
4dd23e0f2d Added slow consumers to varz, fixed reporting bug 2015-07-14 14:55:36 -07:00
Derek Collison
e1bfe2076b Added current time to all http endpoints 2015-07-14 14:28:57 -07:00
Derek Collison
b717610c9f Add go version to info block 2015-07-14 14:24:49 -07:00
Derek Collison
f488ece6bd Added info, better uptime formatting 2015-07-14 14:08:09 -07:00
Derek Collison
96bab33075 fixed import paths 2015-06-19 12:08:11 -07:00
Derek Collison
13150730c4 Added /routez 2015-06-16 16:22:51 -07:00
Derek Collison
082a43f7ae Additional testing for monitoring 2015-06-16 10:31:15 -07:00
Derek Collison
aabc9a2a7c add in client lang and version reporting, bump limit 2015-06-15 20:58:59 -07:00
Derek Collison
d932ac5652 Removed ps dependency from monitoring 2015-06-15 18:09:46 -07:00
Ken Robertson
5623b583a9 Updates for new logging to appease govet
Govet doesn't like functions that look like format handlers not ending in `f`,
such as Debug() vs Debugf(). This is changing some of the new log handling to
use 'f' function names to appease govet.

Updated the implicit handling of including the client as an arg without being
used in a format string. Now the client object simply has a Errorf function
for logging errors and it adds itself onto the format string.
2014-10-29 11:32:14 -07:00
Máximo Cuadros Ortiz
7c7578ae38 Notice and Logger messages 2014-10-16 01:16:21 +02:00
Máximo Cuadros Ortiz
6586ac4653 better client identification at logs and some performances improves 2014-10-16 00:44:56 +02:00
Máximo Cuadros Ortiz
96d044dce4 login system abstraction 2014-10-16 00:44:22 +02:00
Máximo Cuadros Ortiz
502ba2e43e connz: limit and offset 2014-10-04 22:39:09 +02:00