Commit Graph

1663 Commits

Author SHA1 Message Date
Simon MacMullen b3f897c44d Delete something and make sure the correct things change. 2013-01-18 16:40:37 +00:00
Simon MacMullen 6ad7424923 Test fine stats aggregation, and queue lengths in overview. 2013-01-18 16:30:29 +00:00
Simon MacMullen 2d53ec085a Beginning of a rewritten set of DB tests that do not depend on clock time elapsing. 2013-01-16 17:26:08 +00:00
Simon MacMullen bd1f761ceb Rework semantics of instantaneous rate. 2013-01-07 12:07:02 +00:00
Simon MacMullen 952593c83e Changed my mind. 2013-01-04 17:49:43 +00:00
Simon MacMullen 48ae005d0e ...and fix *those* tests. Phew. 2013-01-04 17:23:35 +00:00
Simon MacMullen b70835c055 I think the db tests need a rewrite really but this mostly gets them to work. The trouble is that we have new timing issues due to snapping events to 5s boundaries. I've disabled the least reliable test, but we may need to test at a lower level. 2013-01-04 17:20:17 +00:00
Simon MacMullen 88eac9235e Propagate out range stuff across the DB API. 2013-01-04 15:48:30 +00:00
Simon MacMullen 1c4f36666b Fix an old test that assumed no augmentation. 2013-01-04 15:23:13 +00:00
Simon MacMullen fe76481926 Explain why 2013-01-04 15:06:18 +00:00
Simon MacMullen 411eb36556 Start to write unit tests for some of the more fiddly bits of rabbit_mgmt_db. 2012-12-20 16:34:10 +00:00
Simon MacMullen 27e77e340c TODO-- 2012-12-20 15:19:26 +00:00
Simon MacMullen 73edd80979 Crude WIP of range selection. 2012-12-19 17:58:36 +00:00
Simon MacMullen 4a6093dd0f Configurable, variable-resolution sample retention policies. 2012-12-19 15:20:22 +00:00
Simon MacMullen 6359708d5e Oops 2012-12-19 13:33:34 +00:00
Simon MacMullen 3dace550bd Further rationalisation. 2012-12-19 13:31:26 +00:00
Simon MacMullen 92350cadb9 Unbreak. 2012-12-19 13:04:00 +00:00
Simon MacMullen 2b248a18dc Remove dead code. 2012-12-19 13:03:55 +00:00
Simon MacMullen f1e88f1d7c Cascading unused variables. 2012-12-18 17:49:12 +00:00
Simon MacMullen 09ef756028 Bring sanity to the single connection / single channel API. See bug 23622. 2012-12-18 17:47:23 +00:00
Simon MacMullen a738c7558b Show charts for connection data rates and refactor fmt_rate_* stuff to be a bit simpler and more consistent. 2012-12-18 17:13:44 +00:00
Simon MacMullen afcbc85281 That should be renamed. 2012-12-18 15:57:34 +00:00
Simon MacMullen b34771f52f Render the legend ourselves, thus removing it from the chart. 2012-12-18 15:56:20 +00:00
Simon MacMullen cbb334c042 That guard was needed when we were not filling in ranges correctly. Not any more. 2012-12-18 13:51:45 +00:00
Simon MacMullen 4769a45ff2 Since we now display stats here, let's live-update it! 2012-12-18 13:29:09 +00:00
Simon MacMullen a53daf8631 Merge in default 2012-12-18 12:47:20 +00:00
Simon MacMullen 9aee0aac9b Rewrite this bit yet again. It must be right now. 2012-12-17 18:22:26 +00:00
Simon MacMullen 7b481bc40d efdb7a431aa1 broke aggregation, not sure what I was thinking. Revert. 2012-12-14 16:58:20 +00:00
Simon MacMullen c7b8189e42 I think we've done this every other way, this must be the right way. Take floor for queries and ceiling for updates, in an attempt to avoid the drop-at-the-end problem. 2012-12-12 17:14:00 +00:00
Simon MacMullen f727a4f745 In order to be able to sanely read out a subset of the samples we can't store deltas. But most of the need for deltas was misconceived anyway. Removing them makes most things simpler (lose old_stats) but it does mean we have a fiddly old time adjusting vhost_stats on queue deletion. Oh well. 2012-12-12 16:52:56 +00:00
Simon MacMullen f906dda156 Different preferences per rate/chart. 2012-12-12 12:59:03 +00:00
Simon MacMullen 843bc745fc Slight appearance tweaks. 2012-12-12 12:44:22 +00:00
Simon MacMullen d1fd4fe0f2 Correctly decrease aggregated num of queued messages when a queue is deleted. 2012-12-12 12:08:06 +00:00
Simon MacMullen 9620e98fd6 Don't project events into the future, it's more trouble than it's worth. 2012-12-12 11:50:46 +00:00
Simon MacMullen 25d4cac0bb In fact, let's forget about apportioning altogether. When something hibernates and we don't hear from it for a while, we don't want to assume any delta that happens in the first event after it wakes up should be smeared across the whole time it was asleep. 2012-12-12 11:40:34 +00:00
Simon MacMullen c10de1dbb8 Oops, start deducting from the total count, not 0. 2012-12-12 11:28:04 +00:00
Simon MacMullen 936e55194b Don't ask for the range to extend into the future, that only asks for trouble. 2012-12-12 11:00:37 +00:00
Simon MacMullen ce810edea1 Be more simplistic about apportioning, don't think in terms of fractional timeslices. This turns out to give much saner results. 2012-12-11 18:03:17 +00:00
Simon MacMullen 3cab965b9d Introduce the idea of a range for sample queries, and make sure we fill it. 2012-12-11 17:43:59 +00:00
Simon MacMullen 7b37be449b Oops, forgot about that. 2012-12-11 17:11:51 +00:00
Simon MacMullen f2c1f9bfdd Rename 2012-12-11 17:11:34 +00:00
Simon MacMullen 237c9594fd slight tweak 2012-12-11 17:09:14 +00:00
Simon MacMullen e1ecfbd75e Rearrange the source file to try to put similar functions together. 2012-12-11 17:04:14 +00:00
Simon MacMullen fb6d857d27 Merge stable 2012-12-11 11:30:05 +00:00
Simon MacMullen e25012a8be Added tag rabbitmq_v3_0_1 for changeset 8e2d75025a50 2012-12-11 11:27:15 +00:00
Simon MacMullen 7600923485 Merge bug25352 2012-12-11 11:26:38 +00:00
Simon MacMullen 5d431d3d0c Oops, these too 2012-12-11 11:24:23 +00:00
Simon MacMullen e3e17f05a0 "javascript:" URLs seem to be confusing MSIE (or maybe sammy) for some reason I can't understand. Let's be more jQuery-ish here as elsewhere, and now the form submits properly after one of these links has been clicked. 2012-12-11 11:22:29 +00:00
Simon MacMullen e03e3f089b (Start of an) essay. 2012-12-07 18:06:01 +00:00
Simon MacMullen 5d820d7eee ?? --. 2012-12-07 17:35:24 +00:00