Skip to content

Commit

Permalink
Update deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_co…
Browse files Browse the repository at this point in the history
…re_metrics_collector.erl

Co-authored-by: Péter Gömöri <gomoripeti@users.noreply.github.com>
  • Loading branch information
LoisSotoLopez and gomoripeti authored Jun 27, 2024
1 parent 3ed2e30 commit 5e6116f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ get_data(Table, false, VHostsFilter) when Table == channel_exchange_metrics;
Acc;
({#resource{kind = queue, virtual_host = VHost}, _, _, _, _, _, _, _, _}, Acc) when is_map(VHostsFilter), map_get(VHost, VHostsFilter) == false ->
Acc;
({{#resource{kind = queue, virtual_host = VHost}, #resource{kind = exchange}}, _, _}, Acc) when is_map(VHostsFilter), map_get(VHost, VHostsFilter) == false ->
Acc;
({_, V1}, {T, A1}) ->
{T, V1 + A1};
({_, V1, _}, {T, A1}) ->
Expand Down

0 comments on commit 5e6116f

Please sign in to comment.