summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-07-16 14:52:26 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-07-16 14:52:26 +0100
commit17960c865edad12d5b44ae65a3384bbce534f81c (patch)
tree834978fc929a41b537b8edded241d45e279bb311 /src/rabbit.erl
parent77d9f83cc2e8e6afea0a42d0953d3adfaf2769e1 (diff)
downloadrabbitmq-server-17960c865edad12d5b44ae65a3384bbce534f81c.tar.gz
Get queues to emit events for statistics.
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r--src/rabbit.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 18045b94..88d1a318 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -89,6 +89,13 @@
{requires, external_infrastructure},
{enables, kernel_ready}]}).
+-rabbit_boot_step({rabbit_event,
+ [{description, "statistics event handler"},
+ {mfa, {rabbit_sup, start_restartable_child,
+ [gen_event, [{local, rabbit_event}]]}},
+ {requires, external_infrastructure},
+ {enables, kernel_ready}]}).
+
-rabbit_boot_step({kernel_ready,
[{description, "kernel ready"},
{requires, external_infrastructure}]}).