View Source Guesswork.Telemetry.QueryMetrics (Guesswork v0.5.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.Factand represents when a rule is found to match a fact statement, resulting in a substitution.tests- These are the result of aGuesswork.Ast.Isthat checks against a concrete entity.precomputed_streams- The number of streams thatGuesswork.Ast.Precomputedgroups 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