ecto_profiler v0.1.4 EctoProfiler.TraceHandler View Source
It records all calls with the same trace in one record in the mnesia. The calling module is the one where the first call happened.
Link to this section Summary
Functions
Handler for data. Checks all modules and selects only first module of yours app in trace list.
It writes data to mnesia TraceProfiler
table
Link to this section Functions
Link to this function
handle(trace_list, modules_list, entry)
View Source
handle([tuple()], [module()], Ecto.LogEntry.t()) :: {:atomic, [tuple(), ...]} | nil
Handler for data. Checks all modules and selects only first module of yours app in trace list.
It writes data to mnesia TraceProfiler
table.