First pass at time series for statistics. Easier than I thought it would be.
Add ExplorerCanvas and Flot.
Merge default
Matthias keeps asking "where are the pretty charts?" So here they are.
Merge in default
Phew. Right. Rework stats handling in the management DB. Now when we
get a stats event we apportion it to a time bucket, and then aggregate
those buckets together in various ways. When we want to return
anything in response to a query, we just go and read it - well,
nearly. We still aggregate at query time for the overview. But that's
aggregating per vhost rather than anything too fine grained.
Fix a couple of stupid crashers.
Note to self.
Draw a chart for queue lengths as well.
Fix the text version.
Make sure the sum of the apportionments is always the same as the total number of messages we are apportioning.
I am already not sure this is right. But remove old samples during read as well as write (it's an improvement but insufficiently global).
Remove old samples on a timer.
Get rid of that define.
Merge default
Since it's essentially trivial to do so now, let's show some aggregated data for vhosts. Nice for multi-tenanted hosting I guess...
?? --.
(Start of an) essay.
Rearrange the source file to try to put similar functions together.
slight tweak