Commit Graph

562 Commits

Author SHA1 Message Date
Simon MacMullen 61d8735679 More tests. 2010-08-11 15:51:30 +01:00
Simon MacMullen 48273a4f1f Start of an integration test; just queues for now. 2010-08-11 14:40:20 +01:00
Simon MacMullen 819e7c79e5 Merge two requests to get a list of all (active) channels. 2010-08-06 17:52:26 +01:00
Simon MacMullen b6f012a57a Only send the pid in the overview, it's not that interesting. 2010-08-06 14:03:21 +01:00
Simon MacMullen dffbd7b05d Switch to formatting stuff as we recieve it. Enhance augmentation somewhat. 2010-08-06 13:59:03 +01:00
Simon MacMullen 7d74deba6f Switch to holding our own queue details rather than querying Mnesia. The intent is to make it more regular and easier to get queues by pid. 2010-08-06 11:35:57 +01:00
Simon MacMullen 24c6a654d8 Wrap. 2010-08-05 18:08:59 +01:00
Simon MacMullen 16da3d2228 Start of an augmenting mechanism; show channel as ip_addr:port (number) rather than pid. 2010-08-05 17:59:41 +01:00
Simon MacMullen caecd76a44 Seems like more recent mochiweb fixes this problem. Or I imagined it. 2010-08-05 17:01:01 +01:00
Simon MacMullen a6d2d30714 Missed bits. 2010-08-03 13:09:13 +01:00
Simon MacMullen cd3cc78886 TODO brain dump. 2010-08-03 12:31:51 +01:00
Simon MacMullen ba4a684bb3 Don't blow up now connections have protocols. 2010-08-02 16:20:09 +01:00
Michael Bridgen 6e68ca167c Merge bug22982: newer version of mochiweb 2010-07-30 10:14:43 +01:00
Simon MacMullen b2a60cba43 Add note 2010-07-29 18:08:47 +01:00
Simon MacMullen 6be35962a4 These are only totals for all active connections, so don't show total, just rate. 2010-07-29 18:06:14 +01:00
Simon MacMullen a1fa696d38 Not sure how it worked without this. 2010-07-29 17:49:07 +01:00
Simon MacMullen 6a4db80d1d Fix handle_deleted 2010-07-29 13:22:03 +01:00
Simon MacMullen 3a0f215481 Add a simple page listing consuming channels. 2010-07-27 18:04:48 +01:00
Simon MacMullen f5faf0297b Add the beginnings of a mechanism to query the fine stats. 2010-07-27 17:24:35 +01:00
Simon MacMullen 64bfa66dce Abstract stats tables a bit 2010-07-27 13:09:44 +01:00
Simon MacMullen 1c8d5fb777 Cope with receiving backing_queue_status from the new persister. 2010-07-27 13:09:05 +01:00
Simon MacMullen 9fa700f2d2 Depend on the newer version of mochiweb. 2010-07-26 18:20:37 +01:00
Simon MacMullen 2f5ffc7b70 Switch statistics collection on. 2010-07-26 13:57:21 +01:00
Simon MacMullen 6272f9a165 Come up with a way to sum statistics, use it to show global data transfer stats. 2010-07-23 18:25:25 +01:00
Simon MacMullen 86e2218b13 Clean up the overview code. Remove the timeout handling stuff, it should no longer be relevant. 2010-07-23 17:38:32 +01:00
Simon MacMullen 2565a292ff Add a connection details page 2010-07-23 17:24:01 +01:00
Simon MacMullen 520ac3268b Rejig the connections table, try to show more interesting / relevant information. 2010-07-23 14:01:10 +01:00
Simon MacMullen f2f9118cf2 Improve abstraction a bit more, don't send facts to the client that we don't know. 2010-07-23 13:43:35 +01:00
Simon MacMullen 1f4650e578 Significantly de-uglify the formatting code. 2010-07-23 12:17:14 +01:00
Simon MacMullen b8f154c307 Fix connection closure. 2010-07-23 10:44:02 +01:00
Simon MacMullen b563c524ed The format and rate code is horrible, but we now get connection info from events too - the only thing we poll / cache for is ghlobal os-related stuff. 2010-07-22 18:03:02 +01:00
Simon MacMullen c67f4b4dcd Sometimes we will know of an object via Mnesia but the stats for that object won't have appeared yet. Handle that rather than crashing. 2010-07-22 16:29:19 +01:00
Simon MacMullen 18a773b35b Update for broker API change. 2010-07-19 16:51:31 +01:00
Simon MacMullen 1014517365 Switch to using proplists rather than records for events. 2010-07-19 16:22:54 +01:00
Simon MacMullen 2883d42ba1 Normalise the name of the package, see bug 22988. 2010-07-19 15:22:52 +01:00
Simon MacMullen 2255fbe25a Tweaks. 2010-07-16 18:04:38 +01:00
Simon MacMullen 894b6aa214 Do color formatting on the client, and stripe table rows. 2010-07-16 17:45:37 +01:00
Simon MacMullen 92f974213b Switch from json-template to EJS. Uglier but much less limited. 2010-07-16 17:38:06 +01:00
Simon MacMullen f9f5e71d14 Merge bug21387 into default on the basis that otherwise everything I do in this repo will spam that bug. 2010-07-16 16:38:12 +01:00
Simon MacMullen 4fcab743a6 Make the web app look nicer, show port on startup. 2010-07-16 16:35:58 +01:00
Simon MacMullen dcfc2e745e Don't double-wrap. 2010-07-16 15:37:26 +01:00
Simon MacMullen 1ab475c7a7 q_pid -> qpid 2010-07-16 15:29:05 +01:00
Simon MacMullen dd0b97a2b6 Get queue stats from events rather than polling. 2010-07-16 14:53:03 +01:00
Simon MacMullen 5d85c336c8 Quick hack: show data rate per connection as well as total. 2010-07-15 10:42:57 +01:00
Simon MacMullen 62207c0be5 Simplify status_render somewhat. 2010-07-14 17:42:51 +01:00
Simon MacMullen 2cb6d7536b Get rid of MContext. 2010-07-14 15:25:22 +01:00
Simon MacMullen 6fb3f5e0be Set up a saner environment for webmachine. Now it displays error messages in the browser and I can stop tearing my hair out. 2010-07-14 12:04:01 +01:00
Simon MacMullen fde1cf25cd Break up the JSON space, server side. 2010-07-13 18:06:57 +01:00
Simon MacMullen d926d72d47 Move things around and rename. 2010-07-13 17:46:51 +01:00
Simon MacMullen 757cb436cb Update copyright messages and docs a bit 2010-07-13 17:27:52 +01:00