View Source Guesswork.Telemetry.QueryMetrics (Guesswork v0.6.0)
Represents the tracked actions a query can take:
assignments
- Happens during aGuesswork.Ast.Assign
,Guesswork.Ast.OneOf
,Guesswork.Ast.Is
, orGuesswork.Ast.Fact
. Simply represents when a variable gets assigned a possible entity value.substitutions
- This only can happen during aGuesswork.Ast.Fact
and represents when a rule is found to match a fact statement, resulting in a substitution.tests
- These are the result of aGuesswork.Ast.Is
that checks against a concrete entity.precomputed_streams
- The number of streams thatGuesswork.Ast.Precomputed
groups together.
Summary
Types
@type t() :: %Guesswork.Telemetry.QueryMetrics{ assignments: non_neg_integer(), precomputed_streams: non_neg_integer(), query_id: String.t(), substitutions: non_neg_integer(), tests: non_neg_integer() }
Functions
Link to this function