@@ -366,17 +366,18 @@ list_queue_stats(Ranges, Objs, Interval) ->
366366 [proplists :proplist ()].
367367list_core_queue_data (Ranges , Objs ) ->
368368 Ids = [id_lookup (queue_stats , Obj ) || Obj <- Objs ],
369- DataLookup = get_data_from_nodes ({rabbit_mgmt_data , all_list_basic_queue_data , [Ids , Ranges ]}),
369+ DataLookup = get_data_from_nodes ({rabbit_mgmt_data , all_detail_queue_data , [Ids , Ranges ]}),
370370 adjust_hibernated_memory_use (
371371 [begin
372372 Id = id_lookup (queue_stats , Obj ),
373373 Pid = pget (pid , Obj ),
374374 QueueData = maps :get (Id , DataLookup ),
375375 Props = maps :get (queue_stats , QueueData ),
376376 ConsumerStats = rabbit_mgmt_data_compat :fill_consumer_active_fields (
377- maps :get (consumer_stats , QueueData )),
377+ maps :get (consumer_stats , QueueData )),
378+ Consumers = [{consumer_details , ConsumerStats }],
378379
379- {Pid , combine (Props , Obj ) ++ ConsumerStats }
380+ {Pid , combine (Props , Obj ) ++ Consumers }
380381 end || Obj <- Objs ]).
381382
382383-spec list_basic_queue_stats (ranges (), [proplists :proplist ()], integer ()) ->
0 commit comments