Skip to content

Commit 49a6cff

Browse files
Merge pull request #1298 from rabbitmq/rabbitmq-server-1297
Enable tracing of messages sent by default when using LG
2 parents 272a5c9 + 9bc33e0 commit 49a6cff

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)