<div dir="ltr"><div><div><div>Hey,<br></div><div><br>I'm tracing http requests in my app by following pattern:<br><br>erlang:trace_pattern({lhttpc, request, 9}, [{'_', [], [{return_trace}]}], [local]),<br><br></div>It works great and sends me every request and result.<br><br></div>The problem is that response might be quite huge (several of megabytes) and as far as I understand, it will copy it constantly to my tracer process.<br><br></div>I see that I can use size() guard function in match specifications, and I wamt replace body binary with <<"skipped">> if it's too big.<br><br>Is there a way to match against call returning value?<br></div>