View Source Guesswork.Telemetry.EventHandler (Guesswork v0.5.0)
Holds event handlers for telemetry events.
Summary
Functions
Returns the event name used for reporting when simple assignments happen.
Returns the event name used for reporting when a compuations (test or assignment) completes successfully.
Returns the event name use for reporting when fact matches are calculated.
Returns all telemetry events that handle_event/4
is set up to handle.
Returns the event name used for reporting when streams are precomputed.
Returns the event prefix used for query spans.
Returns the event prefix used for union spans (Guesswork.Ast.And.Statement.resolve/3
).
Functions
@spec assignment_event_name() :: [atom()]
Returns the event name used for reporting when simple assignments happen.
@spec computation_event_name() :: [atom()]
Returns the event name used for reporting when a compuations (test or assignment) completes successfully.
@spec fact_match_event_name() :: [atom()]
Returns the event name use for reporting when fact matches are calculated.
@spec handled_events() :: [[atom()]]
Returns all telemetry events that handle_event/4
is set up to handle.
@spec precompute_event_name() :: [atom()]
Returns the event name used for reporting when streams are precomputed.
@spec resolve_span_prefix() :: [atom()]
Returns the event prefix used for query spans.
@spec union_span_prefix() :: [atom()]
Returns the event prefix used for union spans (Guesswork.Ast.And.Statement.resolve/3
).