We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e94918 + 249cf66 commit 677f22aCopy full SHA for 677f22a
src/rabbit_core_metrics_gc.erl
@@ -70,10 +70,17 @@ gc_channels() ->
70
ok.
71
72
gc_queues() ->
73
+ gc_local_queues(),
74
+ gc_global_queues().
75
+
76
+gc_local_queues() ->
77
Queues = rabbit_amqqueue:list_local_names(),
78
GbSet = gb_sets:from_list(Queues),
79
gc_entity(queue_metrics, GbSet),
- gc_entity(queue_coarse_metrics, GbSet),
80
+ gc_entity(queue_coarse_metrics, GbSet).
81
82
+gc_global_queues() ->
83
+ GbSet = gb_sets:from_list(rabbit_amqqueue:list_names()),
84
gc_process_and_entity(channel_queue_metrics, GbSet),
85
gc_process_and_entity(consumer_created, GbSet),
86
ExchangeGbSet = gb_sets:from_list(rabbit_exchange:list_names()),
0 commit comments