summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Corrections to specs and export suitable event specsbug21387Matthew Sackman2010-08-021-4/+21
|
* Attempt to improve specs.Simon MacMullen2010-08-021-6/+16
|
* Merge default into bug21387.Simon MacMullen2010-08-0211-60/+538
|\
| * Re-abstract the stats timer thing in reader.Simon MacMullen2010-07-302-13/+27
| |
| * Add an attempt at specs. The second part of the state type should not be an ↵Simon MacMullen2010-07-291-0/+8
| | | | | | | | atom but a timer; however I can't find that easily.
| * Fix warning.Simon MacMullen2010-07-291-1/+1
| |
| * Revert reader changes in 1451c9523971 sicne they force us to start / stop a ↵Simon MacMullen2010-07-291-19/+14
| | | | | | | | timer all the time.
| * Cosmetics, add pid to CREATION_EVENT_KEYS, don't emit stats when stopping ↵Simon MacMullen2010-07-294-40/+36
| | | | | | | | when timer does not exist.
| * Refactor: abstract some things into rabbit_event.Simon MacMullen2010-07-295-68/+91
| |
| * Construct channel creation event as a comprehension.Simon MacMullen2010-07-291-29/+28
| |
| * Typo.Simon MacMullen2010-07-281-1/+1
| |
| * Clean up tests a bit, avoid the retry count and sleeping.Simon MacMullen2010-07-282-18/+21
| |
| * Don't need retries the first time through.Simon MacMullen2010-07-281-1/+1
| |
| * Merge default into bug21387Simon MacMullen2010-07-2811-42/+482
| |\
| | * cosmeticsMatthew Sackman2010-07-271-3/+0
| | |
| | * Rename these to avoid name clashes in the management plugin.Simon MacMullen2010-07-271-3/+3
| | |
| | * Oops, don't turn into a timer bomb.Simon MacMullen2010-07-262-2/+2
| | |
| | * Send a stats event as soon as you wake up.Simon MacMullen2010-07-262-0/+2
| | |
| | * Use apply_interval rather than apply_after, cosmetics.Simon MacMullen2010-07-263-12/+9
| | |
| | * Make statistics collection into an application parameter, switched off by ↵Simon MacMullen2010-07-265-32/+61
| | | | | | | | | | | | default.
| | * Tweak priorities a bit.Simon MacMullen2010-07-262-3/+3
| | |
| | * Revert to the prior, process dictionary-based way of storing statistics.Simon MacMullen2010-07-261-52/+38
| | |
| | * Merging default into bug 21387Matthew Sackman2010-07-2610-40/+467
| | |\
| | | * Base the connection_created event on the updated state; needed to get vhost ↵Simon MacMullen2010-07-231-3/+4
| | | | | | | | | | | | | | | | name.
| | | * Allow the complete test suite to run.Simon MacMullen2010-07-221-3/+10
| | | |
| | | * Unit test, and fix a bug found by the test.Simon MacMullen2010-07-223-7/+162
| | | |
| | | * Rewrite the channel stats again to use ets. Not sure if this is any faster, ↵Simon MacMullen2010-07-211-36/+53
| | | | | | | | | | | | | | | | maybe a bit.
| | | * CosmeticsSimon MacMullen2010-07-212-9/+6
| | | |
| | | * Merged default into bug21387Simon MacMullen2010-07-218-36/+286
| | | |\
| | | | * Increase priority of stats messages for channel and queue. Don't use ↵Simon MacMullen2010-07-213-6/+3
| | | | | | | | | | | | | | | | | | | | gen_server2 for reader since it's not a real gen_server anyway.
| | | | * Store (channel, exchange) stats as well as (channel, exchange, queue) since ↵Simon MacMullen2010-07-211-19/+34
| | | | | | | | | | | | | | | | | | | | we can't derive the former from the latter.
| | | | * Store queue/exchange stats in the process dictionary since that's rather a ↵Simon MacMullen2010-07-211-60/+55
| | | | | | | | | | | | | | | | | | | | lot faster than dict:
| | | | * Invoking os:timestamp and timer:now_diff all the time is too expensive, use ↵Simon MacMullen2010-07-215-53/+100
| | | | | | | | | | | | | | | | | | | | timers instead.
| | | | * If a new QPid appears more than once in the list, only monitor it once.Simon MacMullen2010-07-211-1/+1
| | | | |
| | | | * Store (channel, queue, exchange) stats instead of (channel, exchange). Unify ↵Simon MacMullen2010-07-211-34/+38
| | | | | | | | | | | | | | | | | | | | the two stats dictionaries in the channel.
| | | | * Rename some variables.Simon MacMullen2010-07-201-11/+11
| | | | |
| | | | * Standardise on "stats" rather than "statistics" since we were getting rather ↵Simon MacMullen2010-07-203-24/+24
| | | | | | | | | | | | | | | | | | | | verbose. And inconsistent.
| | | | * Store both channel-exchange stats and channel-queue stats in the same format.Simon MacMullen2010-07-201-13/+15
| | | | |
| | | | * Missed out arguments in binding_created.Simon MacMullen2010-07-191-1/+2
| | | | |
| | | | * Lifecycle events for queues, exchanges and bindings.Simon MacMullen2010-07-192-3/+23
| | | | |
| | | | * The channel has a few statistics / state of its own too.Simon MacMullen2010-07-191-8/+11
| | | | |
| | | | * Use list comprehensions to build the stats proplists.Simon MacMullen2010-07-193-43/+25
| | | | |
| | | | * Switch to using proplists rather than records for events.Simon MacMullen2010-07-195-66/+49
| | | | |
| | | | * Make channel monitor queues for which it is gathering statistics, and remove ↵Simon MacMullen2010-07-191-1/+10
| | | | | | | | | | | | | | | | | | | | the stats when the queue goes away.
| | | | * That's not needed.Simon MacMullen2010-07-191-2/+0
| | | | |
| | | | * Emit events for connection and channel statistics and creation / deletion.Simon MacMullen2010-07-194-20/+138
| | | | |
| | | | * cosmeticsSimon MacMullen2010-07-161-7/+7
| | | | |
| | | | * Use timer:now_diff, don't double-wrap.Simon MacMullen2010-07-161-16/+14
| | | | |
| | | | * q_pid -> qpidSimon MacMullen2010-07-162-2/+2
| | | | |
| | | | * Get queues to emit events for statistics.Simon MacMullen2010-07-164-4/+82
| | | | |