What a plugin's PhoenixDevToolbar.Plugin.collect/3 knows about the event
it is handling (ADR 05).
sid: the page session the event belongs tosource::selfwhen the emitting process is tracked itself (a request, a LiveView),:callerfor its$callerschildren such asTask.asyncconfig: the plugin's config, as returned by itsinit/1span: the callback span the event happened in: a counter bumped at every LiveView callback start and stop in the tracked process (so onehandle_event/3, onerender/1, or the gap between two callbacks wherehandle_info/2runs). A$callerschild gets its caller's span. Events are stamped with it (Event.span).
Summary
Types
@type source() :: :self | :caller
@type t() :: %PhoenixDevToolbar.Context{ config: term(), sid: String.t(), source: source(), span: non_neg_integer() }