Skip to content

Commit 9bc33e0

Browse files
committed
Enable tracing of messages sent by default when using LG
1 parent 272a5c9 commit 9bc33e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rabbit_looking_glass.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ boot() ->
2929
Input = parse_value(Value),
3030
rabbit_log:info("Enabling Looking Glass profiler, input value: ~p", [Input]),
3131
{ok, _} = application:ensure_all_started(looking_glass),
32-
lg:trace(Input, lg_file_tracer, "traces.lz4", #{mode => profile, running => true})
32+
lg:trace(Input, lg_file_tracer, "traces.lz4", #{
33+
mode => profile,
34+
running => true,
35+
send => true})
3336
end.
3437

3538
parse_value(Value) ->

0 commit comments

Comments
 (0)