Skip to content

Commit ce61937

Browse files
committed
ordering and formatting
1 parent 9749d12 commit ce61937

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_core_metrics_collector.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,9 @@ get_data(stream_consumer_metrics = Table, false, _, _) ->
549549
RealTable = rabbit_stream_consumer_created, %% real table name
550550
{Table, A1, A2, A3} = ets:foldl(fun({_, Props}, {T, A1, A2, A3}) ->
551551
{T,
552-
sum(proplists:get_value(offset, Props), A1),
553-
sum(proplists:get_value(offset_lag, Props), A2),
554-
sum(proplists:get_value(consumed, Props), A3)
552+
sum(proplists:get_value(consumed, Props), A1),
553+
sum(proplists:get_value(offset, Props), A2),
554+
sum(proplists:get_value(offset_lag, Props), A3)
555555
}
556556
end, empty(Table), RealTable),
557557
[{Table, [{offset, A1}, {offset_lag, A2}, {consumed, A3}]}];

0 commit comments

Comments
 (0)